getPloidy: Calculation of ploidy status

View source: R/quantifydiff_functions.R

getPloidyR Documentation

Calculation of ploidy status

Description

This function calculate the overall ploidy of samples by computing the weighted mean copy number values of all segments

Usage

getPloidy(events)

Arguments

events

dataframe with segments of the sample

Value

ploidy status of the sample

Examples

exp_cell=cells_segcn[cells_segcn$sample=="22RV1",]
ploidy<-getPloidy(exp_cell)

macintyrelab/CNpare documentation built on April 15, 2022, 4:46 a.m.