alleleCounts: Return allele counts from a genofile based on read counts

Description Usage Arguments Details Value

View source: R/seqarray_process_coverage.R

Description

Return allele counts from a genofile based on read counts

Usage

1
alleleCounts(gdsfile)

Arguments

gdsfile

a SeqVarGDSClass object

Details

If ref.allele = NULL, the function returns a list of matrices corresponding to the read counts of the reference and alternate alleles respectively, while if ref.allele = 0L or ref.allele = 1L the function returns a matrix corresponding the reference or alternate read counts. Currently, the AD tag formats from varscan2re and GATK are supported.

Value

an alleleCounts matrix object, which is a list containg the


bahlolab/moimix documentation built on April 16, 2020, 8:40 a.m.