get_reads_num: Calculate number of reads given the coverage and genome size

Description Usage Arguments Details Value Author(s) References

View source: R/kmer_distribution.R

Description

The function calculates the needed reads given a coverage and the genome size

Usage

1
get_reads_num(coverage, readLength, genomeSize)

Arguments

coverage

Wanted coverage

readLength

Given read length

genomeSize

Size of the genome in bases

Details

The calulation is done by the formula of Lander and Waterman (1988).

Value

numeric, number of reads

Author(s)

Jochen Kruppa

References

Lander, E. S. and Waterman, M. S. (1988). Genomic mapping by fingerprinting random clones: A mathematical analysis. Genomics, 2(3), 231-239.


jkruppa/acgtPyramid documentation built on May 19, 2019, 12:45 p.m.