maf: Remove MAF allele

View source: R/raw_process.R

mafR Documentation

Remove MAF allele

Description

A function to remove the alleles with minimum allele frequency and keep only a bi-allelic matrix when loci are multi-allelic

Usage

maf(h.table, AD = TRUE, verbose = TRUE, parallel = FALSE)

Arguments

h.table

allele depth table generated from the function hetTgen

AD

logical. If TRUE a allele depth table similar to hetTgen output will be returns; If FALSE, individual AD values per SNP will be returned in a list.

verbose

logical. Show progress

parallel

logical. whether to parallelize the process

Value

A data frame or a list of minimum allele frequency removed allele depth

Author(s)

Piyal Karunarathne

Examples

## Not run: mf<-maf(ADtable)


rCNV documentation built on Sept. 30, 2024, 9:39 a.m.

Related to maf in rCNV...