getAlleleCount: mutationCalls counts accessor

View source: R/classes.R

getAlleleCountR Documentation

mutationCalls counts accessor

Description

Extracts the counts of allele for either the mutant or all the non-mutant alleles

Usage

getAlleleCount(mutcall, type = c("mutant", "nonmutant"))

Arguments

mutcall

object of class mutationCalls.

type

character that is either 'mutant' or 'nonmutant' depending on which allele count the user wants to access

Value

Returns matrix of either mutant or non-mutant allele counts

Examples

load(system.file("extdata/LudwigFig7.Rda",package = "mitoClone2"))
mutantAllele_count <- getAlleleCount(LudwigFig7,type='mutant')

benstory/mitoClone2 documentation built on Nov. 8, 2023, 12:13 a.m.