med.segmean: Median sample CNV

Description Usage Arguments Value Examples

View source: R/segment.means.r

Description

Obtain the median weighted segment mean from a segmentaton file; The weighted median refers to the logR that occupies a center of all segments ordered by their log ratio

Usage

1

Arguments

cnv

(S4) an object of class svcnvio containing data type 'cnv' initialized by validate.cnv

Value

(numeric) a vector containing the median logR value of a segmented data.frame

Examples

1
2
3
4
5
## validate input CNV data.frames
cnv <- validate.cnv(segdat_lung_ccle)

med_seg_mean <- med.segmean(cnv)
head(med_seg_mean)

ccbiolab/svpluscnv documentation built on Sept. 9, 2020, 4:52 a.m.