getCNprob: Generate a CN probability vector.

Description Usage Arguments Author(s)

Description

Generate a CN probability vector.

Usage

1
getCNprob(readCount, p, r, segLen, binLen, maxCN = 5, alpha = 0.05)

Arguments

readCount

Total number of read counts (W+C) in all cells in this segment.

p

The p parameter of the NB distribution.

r

Dispersion parameter for the total number of read counts (W+C in all cells) in a bin with a diploid copy number (2).

segLen

The length of the segment.

binLen

The length of the bins used for estimating the NB parameters.

maxCN

The maximum number of CNs.

alpha

The coefficient of NB dispersion parameter for the number of background reads.

Author(s)

Maryam Ghareghani


friendsofstrandseq/MaRyam documentation built on May 28, 2019, 8:40 p.m.