logRlogORspider: logRlogRsplide plot generation from cncf input

View source: R/facets-wrapper.R

logRlogORspiderR Documentation

logRlogRsplide plot generation from cncf input

Description

Plots copy number log-ratio, variant allele log-odds ratio as well as the copy number and cellular fraction fits.

Usage

logRlogORspider(cncf, dipLogR = 0, nfrac = 0.005)

Arguments

cncf

Copy number and cellular fraction data frame either the naive one (out) from procSample or the EM fit (cncf) from emcncf.

dipLogR

the log-ratio value corresponding to the diploid state.

nfrac

a segment is shown if the proportion of loci and het SNPs (num.mark and nhet) nfrac. Default is 0.01.

Details

This is a diagnostic plot to check how well the copy number fits work. The estimated segment summaries are plotted as circles where the size of the circle increases with the number of loci in the segment. The expected value for various integer copy number states are drawn as curves for purity ranging from 0 to 0.95. For a good fit, the segment summaries should be close to one of the lines.


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