fitcncf: Copy number and cellular fraction of segment clusters

View source: R/facets-cncf.R

fitcncfR Documentation

Copy number and cellular fraction of segment clusters

Description

Copy number and cellular fraction of segment clusters

Usage

fitcncf(out, dipLogR = 0, nX = 23)

Arguments

out

the out element from procSample fit

dipLogR

log-ratio level corresponding to diploid copy number

nX

integer value of ChrX; humans 23 (default); mouse 20.

Details

This function is called internally by procSample. It can be used to refit the model at a different dipLogR value.

Value

A data frame with the same columns as out and three additional columns which give the cellular fraction (cf), total copy number (tcn) and lower copy number (lcn) for each segment. If a cluster does not have sufficient heterozygotes the lcn value will be NA.


rptashkin/facets2n documentation built on May 11, 2022, 1:34 p.m.