Learn R Programming

Canopy (version 1.3.0)

getVAF: To get variant allele frequency (VAF)

Description

To get variant allele frequency (VAF) matrix, which contains percentage of mutant SNA alleles across samples. Used in canopy.sample.

Usage

getVAF(tree,Y)

Arguments

tree

input tree

Y

SNA CNA overlapping matrix

Value

Variant allele frequency matrix VAF.

Examples

Run this code
# NOT RUN {
data(MDA231_tree)
data(MDA231)
Y = MDA231$Y
getVAF(MDA231_tree, Y)
# }

Run the code above in your browser using DataLab