Learn R Programming

Canopy (version 1.3.0)

getQ: To get SNA-CNA genotyping matrix

Description

To get SNA-CNA genotyping matrix \(Q\), which specifies whether an SNA precedes a CNA. Used in canopy.sample.

Usage

getQ(tree, Y, C)

Arguments

tree

input tree

Y

SNA CNA overlapping matrix

C

CNA and CNA region overlapping matrix

Value

Genotyping matrix \(Q\).

Examples

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

Run the code above in your browser using DataLab