countGT | R Documentation |
count how many samples have genotypes calls across markers and count how many markers that each individual has called genotypes for. This function helps identify poor samples or poor markers for filtering. It can also generate plots that help identify outlier samples/markers
countGT(geno, plot = TRUE, interactive = FALSE)
geno |
the genotype data.frame of markers by samples from output of
function |
plot, |
it determines whether a plot will be generated, defaults to TRUE |
interactive, |
it determines whether an interactive plot will be generated |
A list of two elements including n_markers
and n_samples
Ruqian Lyu
data(snp_geno_gr)
genotype_counts <- countGT(GenomicRanges::mcols(snp_geno_gr))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.