Description Usage Arguments Value
View source: R/read_length_distribution.R
For each file (of mutationFileFormat type) in a directory, we plot the read length distribution under three settings - all reads, reads containing C to T mutations and reads containing C to T towards the ends of the fragments.
1 2 | read_length_distribution(dir, end_break = 5, plot_layout = c(3, 3),
cols = c("red", "green", "blue"), cex_legend = 0.5, cex.main = 0.5)
|
dir |
The directory housing all the mutationFileFormat files. |
end_break |
The position on the read from the end of the fragment such that if C->T change occurs beyond that end break, it is considered in the third class of reads (potentially damaged reads) |
plot_layout |
The layout of the plot with multiple images (deafult is a 3x3 layout) |
cols |
The color profiles of the three plots. Defaults to "red", "green" and "blue". |
cex_legend |
The cex of the legend. |
cex_main |
The cex of the title of the figure. |
The read length distribution plots for each of the mutationFileFormat files in the folder
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.