carma.S4: Calculate CARMA score CRV

Description Usage Arguments Value Examples

View source: R/carma.S4.R View source: R/carma.S4 2.R

Description

This function will not be called directly by the user. The function is used by the carma.all function to calculate the CARMA score CRV, a measure of the degree of regional fluctuation in copy number.

Usage

1
carma.S4(seg)

Arguments

seg

a data frame with copy number data corresponing to one region.

Value

A numeric score.

Examples

1
2
3
segment <- test.data[[1]]
seg <- segment[segment$chr==1, ] 
carma.S4(seg)

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