Description Usage Arguments Details Value
View source: R/normalizeCARMA.R View source: R/normalizeCARMA 2.R
This function will not be called directly by the user. The function is used by the CARMA
function to calculate normalized regional CARMA scores. The function returns normalized CARMA scores per region for a list of samples, as well as normalized genome wide CARMA scores for a list of samples.
1 | normalizeCARMA(carma.res.reg, carma.res.genome, indx, region.type = "arm", bin.regions = NULL, exclude.x.chrom = T, normalization.set = NULL, quant = 0.99)
|
carma.res.reg |
a list containing raw regional CARMA scores |
carma.res.genome |
a list containing aggregated regional CARMA scores (genome wide CARMA scores) |
indx |
names of the CARMA scores |
region.type |
type of region, either |
bin.regions |
if |
exclude.x.chrom |
if |
normalization.set |
if |
quant |
the percentile calculated within each region-specific CARMA score in the normalization set used for normalization. |
Normalization is performed by first defining a normalization set, which by default is set to the dataset currently being analyzed. Optionally an external dataset can be provided for normalization. The input format of the normalization set would then be the direct output from the CARMA
function. Next the 99th percentile for the CARMA score within each region is calculated in the normalization set. Each raw regional CARMA scores in each sample is then divided by the corresponding 99th percentile score.
Two lists of lengths corresponding to the number of samples. The first list ([["regional"]]
) containes normalized regional CARMA scores. The second list ([["genome"]]
) contains normalized aggregated genome wide CARMA scores.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.