Description Usage Arguments Details Value Source Examples
View source: R/CARMA.R View source: R/CARMA 2.R
This is the main function in the CARMA
package. The main input to the function is a list of segmented integer copy number profiles. The CARMA
function calculates six CARMA scores within each defined genomic region.
1 |
segment.list |
a list containing data frames with segmented integer copy number data. See |
region.type |
the type of region in which CARMA scores are to be calculated: |
bin.width |
the width of the bin region. Only used if |
overlap |
if |
hg.version |
the build version: |
gender |
a character vector of length samples giving gender. If |
exclude.x.chrom |
if |
normalization.set |
if |
For more details about the algorithm see linked paper under source
.
A list containing six objects:
raw_regional_CARMA_scores |
A list containing raw regional CARMA scores. |
raw_genome_wide_CARMA_scores |
A list containing raw aggregated genome wide CARMA scores. |
normalized_regional_CARMA_scores |
A list containing normalized regional CARMA scores. |
normalized_genome_wide_CARMA_scores |
A list containing normalized aggregated genome wide CARMA scores. |
start_stop_per_region |
A data frame containing start and end positions of CARMA regions. |
parameters |
A list containing the input parameters used when running the CARMA function. |
http://biorxiv.org/lookup/doi/10.1101/769356
1 2 3 4 5 6 7 8 9 10 11 | # Format of input copy number profiles
head(test.data[[1]])
# Calculate CARMA scores per chromosome arm
carma.res <- CARMA(test.data, region.type="arm", hg="hg19")
# Calculate CARMA scores per whole chromosome
carma.res <- CARMA(test.data, region.type="chrom", hg="hg19")
# Calculate CARMA scores within 3*10^7 base pairs long regions
carma.res <- CARMA(test.data, region.type="bin", bin.width=3*10^7, hg="hg19")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.