carma.S3: Calculate CARMA score STP

Description Usage Arguments Value Examples

View source: R/carma.S3.R View source: R/carma.S3 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 STP, a measure of the degree of regional change in copy number.

Usage

1
carma.S3(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.S3(seg)

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