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 Oct. 30, 2024, 3:20 p.m.