drop_nullmarkers | R Documentation |
Drop markers with no genotype data (or no informative genotypes)
drop_nullmarkers(cross, quiet = FALSE)
cross |
Object of class |
quiet |
If FALSE, print information about how many markers were dropped. |
We omit any markers that have completely missing data, or if founder genotypes are present (e.g., for Diversity Outbreds), the founder genotypes are missing or are all the same.
The input cross
with the uninformative markers removed.
drop_markers()
, pull_markers()
grav2 <- read_cross2(system.file("extdata", "grav2.zip", package="qtl2"))
# make a couple of markers missing
grav2$geno[[2]][,c(3,25)] <- 0
grav2_rev <- drop_nullmarkers(grav2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.