Skip to contents

Count genotypes across samples for each variant

Usage

countGenotypes(gt)

Arguments

gt

matrix of genotype calls (variants x samples) with form "0|0" or "0/0", as produced by VariantAnnotion::geno applied to a VCF object

Value

DataFrame with counts for each genotype category