depth: Compute predicted depths based on coverage characteristics

depthR Documentation

Compute predicted depths based on coverage characteristics

Description

depth returns the depth of of each specified copy number given the input parameters

Usage

depth(maxpeak, d, P, n)

Arguments

maxpeak

the depth of the most common copy number of the genome (eg. where CN = Ploidy)

d

the depth difference per copy number. Can be calculated from get_coverage_characteristics

P

the ploidy (most common copy number)

n

a vector of all copy numbers to compute depths for

Value

a numeric vector of predicted depths for each n, with names equal to n


lculibrk/Ploidetect documentation built on May 18, 2023, 5:53 p.m.