View source: R/scAPAtrap_funlib.R
generateFinalBam | R Documentation |
Generate a BAM file for called peaks with featureCounts and samtools, which can be used by umi_tools to quantify peaks.
generateFinalBam(
featureCounts.path,
samtools.path,
input,
peakfile,
thread = 12,
...
)
featureCounts.path |
The path of the featureCounts tool. |
samtools.path |
The path of the samtools. |
input |
BAM file. |
peakfile |
The path of the peaks.saf file generated by |
thread |
Number of CPU threads, default is 12. |
... |
Arguments passed to other methods and/or advanced arguments. Advanced arguments:
|
Generate final.bam file (final.bam) in the folder of the <input> dir.
## Not run:
input <- './data/demo.bam'
peakfile <- './data/peaks.saf'
generateFinalBam(featureCounts.path, samtools.path, input, peakfile, 24)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.