'[' will extract another object of the same class. '[[' will extract a single element.

tagsof(object, i)

taggedby(object, i)

# S4 method for tags,character
taggedby(object, i)

# S4 method for tags,character
tagsof(object, i)

# S4 method for groups,character
taggedby(object, i)

# S4 method for groups,character
tagsof(object, i)

# S4 method for groups,character,missing,missing
[(x, i)

# S4 method for groups,numeric,missing,missing
[(x, i)

# S4 method for groups,logical,missing,missing
[(x, i)

# S4 method for tags,character,missing,missing
[(x, i)

# S4 method for groups,numeric
[[(x, i)

# S4 method for groups,logical
[[(x, i)

# S4 method for groups,character
[[(x, i)

Arguments

object

tags or groups object

i

numeric, logical or character vector to index SNPs or tags

x

groups or tags object

Value

data.frame of tags and their tagged SNPs

subsetted groups or tags object