fitcnv: Estimate copy number

Description Usage Arguments Value Examples

View source: R/fitcnv.R

Description

This function takes a vector with the total number of contacts per bin and estimates the copy number

Usage

1
fitcnv(x)

Arguments

x

A vector of total contacts per bin. It should be ordered (at least inside each chromosome).

Value

A list with two elements. The first one refers to the average number of counts corresponding to a copy number of two. The second one is a vector of the same length as x with the estimated copy number.

Examples

1
plot(0)

qenvio/dryhic documentation built on Nov. 5, 2018, 9:43 p.m.