View source: R/utility_functions.R
summarize_facets | R Documentation |
List either all of the possible SNP and sample facets (if called with no facets) or all of the categories for each requested facet.
summarize_facets(x, facets = NULL)
x |
snpRdata object |
facets |
character. Categorical metadata variables by which to break up
analysis. See |
If called with sample facets, returns a table of counts of each category otherwise returns a vector of categories.
A named list containing either the possible SNP and sample facets or the categories for all of the requested facets.
William Hemstrom
# list available facets
summarize_facets(stickSNPs)
# return details for a few facets
summarize_facets(stickSNPs, c("pop", "chr.pop", "fam.pop"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.