Learn R Programming

AllelicImbalance (version 1.10.2)

ASEset-filters: genotype filter methods

Description

useful genotype filters

Usage

hetFilt(x, ...)
"hetFilt"(x, source = "genotype", ...)

Arguments

x
ASEset object
...
internal param
source
'genotype' or 'alleleCounts'

Details

hetFilt returns TRUE if the samples is heterozygote, based on stored genotype information present in the phase data.

Examples

Run this code

#load example data
data(ASEset)
a <- ASEset

genotype(a) <- inferGenotypes(a)
hets <- hetFilt(a) 

Run the code above in your browser using DataLab