center: Calculate median ploidy across the genome

Description Usage Arguments Value Examples

View source: R/center.R View source: R/center 2.R

Description

This function will not be called directly by the user. The function is used by the CARMA function and takes as argument a segment table for a region and returns the median copy number in that region.

Usage

1
center(seg)

Arguments

seg

a data frame with copy number data for a region.

Value

A numeric value

Examples

1
2
segment <- test.data[[1]]
center(segment)

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