Learn R Programming

rCNV (version 1.3.0)

maf: 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)

Value

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

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

Author

Piyal Karunarathne

Examples

Run this code
if (FALSE) mf<-maf(ADtable)

Run the code above in your browser using DataLab