summaryCARMA: Make summary table of CARMA scores for all samples

Description Usage Arguments Value Examples

View source: R/summaryCARMA.R View source: R/summaryCARMA 2.R

Description

This function reformats the output data from the CARMA function into one single table containing CARMA scores for all samples.

Usage

1
summaryCARMA(carma, scores = "regions", data.type = "normalized")

Arguments

carma

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

scores

the type of scores to be returned: "regions" or "genome_wide", corresponding to regional or aggregated genome wide scores. Default set to "regions".

data.type

the type of data to be returned: "normalized" or "raw". Default set to "normalized".

Value

A data frame containing CARMA scores for all samples.

Examples

1
2
carma.scores <- CARMA(test.data, region.type="arm", hg.version="hg19")
summary.table <- summaryCARMA(carma.scores) 

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