get_cn_ploidy: Get Ploidy from Absolute Copy Number Profile

View source: R/get_cn_ploidy.R

get_cn_ploidyR Documentation

Get Ploidy from Absolute Copy Number Profile

Description

Get Ploidy from Absolute Copy Number Profile

Usage

get_cn_ploidy(data)

Arguments

data

a CopyNumber object or a data.frame containing at least 'chromosome', 'start', 'end', 'segVal' these columns.

Value

a value or a data.table

Examples

# Load copy number object
load(system.file("extdata", "toy_copynumber.RData",
  package = "sigminer", mustWork = TRUE
))

df <- get_cn_ploidy(cn)
df

sigminer documentation built on May 29, 2024, 3:11 a.m.