Description Usage Arguments Value
Subsample a bam file according to coverage
1 2 | subSampleBam(bamfile, windowSize = NULL, sampleSize = 100,
fragmentReads = FALSE, fragmentWidth = 1000, what = NULL)
|
bamfile |
The bamfile that will be subsampled |
windowSize |
The window size for subsampling. The number of reads precised by sampleSize argument will be sampled in this window. |
sampleSize |
The desired new coverage of the bamfile. |
what |
What to extract from the bam file to write to the new one.
If NULL defaults to the complete output of
|
A list containing the filename of the original bamfile, the name of the new bamfile, the reference length and the sampleSize
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.