Learn R Programming

AllelicSeries (version 0.1.1.5)

Counts: Count Variants and Carriers

Description

Count Variants and Carriers

Usage

Counts(anno, geno, n_anno, min_mac = 0L)

Value

Data.frame of allele, variant, and carrier counts.

Arguments

anno

(snps x 1) annotation vector with integer values in 1 through the number of annotation categories L.

geno

(n x snps) genotype matrix.

n_anno

Number of annotation categories L.

min_mac

Minimum minor allele count for inclusion. Default: 0.