tabulate_allele_frequency_matrix: Fetch the allele frequencies for all SNPs for each level of...

View source: R/utility_functions.R

tabulate_allele_frequency_matrixR Documentation

Fetch the allele frequencies for all SNPs for each level of each requested facet.

Description

Fetch allele frequencies for all SNPs for each level of all the requested facets. Major and minor allele frequencies will be interleaved, with the major allele first for each locus. Note that this particular function is not overwrite-safe.

Usage

tabulate_allele_frequency_matrix(x, facets = NULL)

Arguments

x

snpRdata object

facets

character, default NULL. The facets for which to calculate allele frequencies. See Facets_in_snpR for details.

Value

A named, nested list containing allele frequency matrices for each facet level for all requested facets.

Author(s)

William Hemstrom


hemstrow/snpR documentation built on March 20, 2024, 7:03 a.m.