plotSample: Plot sample specific CARMA scores

Description Usage Arguments Value Examples

View source: R/plotSample.R View source: R/plotSample 2.R

Description

This function creates sample specific plots of normalized regional CARMA scores. The plots are saved as png files.

Usage

1
plotSample(carma, samples=c(1), plot.dir="~/Desktop/")

Arguments

carma

the output file from the CARMA function containing regional CARMA scores.

samples

a vector giving the samples to be plotted. The vector can contain either numeric values corresponding to the order of samples included in the segment list used as input for the CARMA function, or give the actual sample IDs corresponding to the names given in the segment list.

plot.dir

the directory in which the plots are to be printed.

Value

png files containg plots of sample specific CARMA scores.

Examples

1
2
carma <- CARMA(test.data, region.type="arm", hg.version="hg19")
plotSample(carma, samples=c(1,2,3), plot.dir="~/Desktop/")

arnevpladsen/CARMA documentation built on Dec. 19, 2021, 4:39 a.m.