Description Usage Arguments Value See Also Examples
Plot the histogram of positive proportions of the input
data frame coming from getStrandFromBamFile
1 2 3 |
windows |
data frame containing the strand information of the sliding
windows. Windows can be obtained using the function
|
save |
if TRUE, then the plot will be save into the file given by
|
file |
the file name to save to plot |
groupBy |
the columns that will be used to split the data. |
normalizeBy |
instead of using the raw read count/coverage, we will
normalize it to a proportion by dividing it to the total number of read
count/coverage of windows that have the same value in the |
split |
an integer vector that specifies how you want to partition the
windows based on the coverage. By default |
breaks |
an integer giving the number of bins for the histogram |
useCoverage |
if TRUE then plot the coverage strand information, otherwise plot the number of reads strand information. FALSE by default |
heatmap |
if TRUE, then use heat map to plot the histogram, otherwise use barplot. FALSE by default. |
... |
used to pass parameters to facet_wrap |
If heatmap=FALSE
: a ggplot object
1 2 3 | bamfilein = system.file('extdata','s1.sorted.bam',package = 'strandCheckR')
win <- getStrandFromBamFile(file = bamfilein,sequences='10')
plotHist(win)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.