| lengthDist {riboSeqR} | R Documentation |
riboData object contain data on multiple lengths of sequenced reads. This function plots the density of those lengths.
lengthDist(riboDat, add = FALSE, legend = NULL, ...)
riboDat |
riboData object to be plotted |
add |
Should the curve be added to an existing plot, or a new plot drawn? |
legend |
Legend text, if given. |
... |
Additional arguments to be passed to ‘plot’ or ‘legend’. |
Thomas J. Hardcastle
#ribosomal footprint data
datadir <- system.file("extdata", package = "riboSeqR")
ribofiles <- paste(datadir,
"/chlamy236_plus_deNovo_plusOnly_Index", c(17,3,5,7), sep = "")
rnafiles <- paste(datadir,
"/chlamy236_plus_deNovo_plusOnly_Index", c(10,12,14,16), sep = "")
riboDat <- readRibodata(ribofiles, rnafiles, replicates = c("WT", "WT",
"M", "M"))
lengthDist(riboDat)