View source: R/utility_functions.R
filters | R Documentation |
snpR will automatically track the methods used on a
snpRdata object. Using filters
on that object will provide
details on the the filters used.
filters(x)
x |
snpRdata object |
Printed outputs contain the filters used in the order they were applied
alongside the filtering stringency and any facets applied over, if
applicable. Note that some output formats from format_snps
, like the
vcf
format, will notes on the filters used as well.
Prints easily human readable results to the console and also returns a more machine readable string.
William Hemstrom
# filter the data
x <- filter_snps(stickSNPs,
min_ind = 0.75,
min_loci = 0.75,
maf = 0.1,
maf_facets = "pop")
# fetch the filters used
filters(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.