Default methods for accessing and subsetting MLG objects.
# S4 method for MLG
initialize(.Object, mlg)# S4 method for MLG,ANY,ANY,ANY
[(x, i, j, ..., all = FALSE, drop = TRUE)
# S4 method for MLG,ANY,ANY,ANY
[(x, i, j) <- value
# S4 method for MLG
show(object)
# S4 method for MLG
length(x)
# S4 method for MLG,ANY
Ops(e1, e2)
# S4 method for MLG
Math(x)
# S4 method for MLG
Math2(x, digits)
# S4 method for MLG
Summary(x, ..., na.rm = FALSE)
a character, "MLG"
a vector where each element assigns the multilocus genotype of that individual in the data set.
an MLG object
a vector of integers or logical values to index the MLG vector.
One of
"original"
"expanded"
"contracted"
"custom"
passed on to summary methods
a logical value indicating whether or not to return the subset of all MLG values or only the numeric.
the vector of MLGs to replace. For internal use only.
an MLG object.
an MLG object
a number
the number of digits to retain
passed on to summary methods
'>MLG
'>genclone
'>snpclone
visible
unique,MLG-method
levels,MLG-method