powered by
Return a list of gtypes for each stratum.
gtypes
strataSplit(g, strata = NULL, remove.sequences = FALSE)
a '>gtypes object.
a character vector giving a subset of strata to select. If NULL then a list with all strata is created.
NULL
logical. If TRUE any sequences not referenced in selected samples will not be in the returned object.
TRUE
A named list where each element is a gtypes object for a single stratum in g.
g
# NOT RUN { data(msats.g) # Proportion of unique alleles in each stratum msats.list <- strataSplit(msats.g) sapply(msats.list, propUniqueAlleles) # }
Run the code above in your browser using DataLab