transfer.events.to.consensus.trees: Transfer driver variants/events from the cluster onto the...

Description Usage Arguments Examples

Description

Transfer driver events (defined by the user in the variant data frame) to the consensus trees, allowing them to be mapped and visualized in the bell and tree plots

Usage

1
2
transfer.events.to.consensus.trees(x, events, cluster.col.name = "cluster",
  event.col.name)

Arguments

x:

output of infer.clonal.models

events:

a subset of the variants data frame used in infer.clonal.models that contains only rows whose variants are defined as driver event

cluster.col.name:

name of the cluster column in events and variants data frames

event.col.name:

The name of the events that will be displayed in bell and tree plots, defined by the user. This can be gene name, or gene name + variant detail.

Examples

1
2
3
4
5
6
data(aml1)
x = aml1$variants
y = aml1
y <- transfer.events.to.consensus.trees(aml1, x[x$is.driver,],
               cluster.col.name = 'cluster',
               event.col.name = 'gene')

hdng/clonevol documentation built on May 17, 2019, 3:19 p.m.