Description Usage Arguments Details Value
View source: R/grada_plot_functions.R
This function will plot the results of grada_analyze_positions(). The results are stored in "Adapter_Positions.Rdata"
1 2 3 4 5 6 7 | grada_plot_bar(
PE = TRUE,
input = "temp/",
skip = TRUE,
plot_row = 2,
plot_col = 2
)
|
PE |
paired data? TRUE / FALSE (std. TRUE) |
input |
input folder where the "dapter_Positions.Rdata" is (output from grada_table() std. "temp/") |
skip |
if TRUE, it will skip plots for empty Data (if adapter is not found) so you will not get empty plots (sometimes it happens that the first plost is present anyway. this is due to a matrix R-command). (std. TRUE) |
plot_row |
is the par(mfrow=c(plot_row,plot_col)) for arrenging the plots (std. 2) |
plot_col |
is the par(mfrow=c(plot_row,plot_col)) for arrenging the plots (std. 2) |
The first position of the found Sequence will be plottet! If the read is 100 bases long and the adapter 10, the maximal position will therefor be 91!
plots will be skipped if no adapters are found. If there are any difficulties with this function, may set skip to FALSE.
R barplots of the adapter positions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.