Description Details Author(s) Examples
This package aims to quantify and remove putative double strand DNA from a strand-specific RNA sample. There are also options and methods to plot the positive/negative proportions of all sliding windows, which allow users to have an idea of how much the sample was contaminated and the appropriate threshold to be used for filtering.
The package has some following main functions:
- getStrandFromBamFile
: calculate positive/negative proprortion and
sum of reads over all sliding windows from a bam file
- plotHist
: plot histogram of positive proportion of windows
calculated from getStrandFromBamFile
method
- plotWin
: plot positive proportion vs number of reads of
windows calculated from getStrandFromBamFile
method
- filterDNA
: filter a bam file
Thu-Hien To & Steve Pederson
Maintainer: Thu-Hien To <tothuhien@gmail.com>
1 2 3 4 5 | bamfilein <- system.file("extdata","s1.sorted.bam",package = "strandCheckR")
windows <- getStrandFromBamFile(bamfilein)
plotWin(windows)
plotHist(windows)
filterDNA(file = bamfilein,destination = "filter.bam")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.