knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
library(GRADA) library(parallel) library(DT) library(rmarkdown)
# The example data from Phage - SRX6454172 (first 100 reads) can be used to test the function. read1 <- system.file("extdata", "grada_R1.fastq", package = "GRADA") read2 <- system.file("extdata", "grada_R2.fastq", package = "GRADA") seq <- system.file("extdata", "adapter_list.txt", package = "GRADA")
This will render the DataTable (DT)
grada_analyze(PE = TRUE, seq = seq, read1 = read1, read2 = read2, M_min = 0)
This will find the 1. position of the sequence (for mismatch = 0) in every read (that contains the adapter)
grada_analyze_positions(PE = TRUE, readlength = 125, numCores = 1)
This will show the found adapters in a table.
grada_table_DT()
grada_table_simple()
This function will plot the found countings (for mismatch = 0)
For the standard stettings all the three following commands are the same:
grada_plot_bar(PE = TRUE, input = "temp/", skip = TRUE, plot_row = 2, plot_col = 2)
grada_plot_bar()
grada_plot()
grada_plot_bar(PE = TRUE, skip = TRUE, plot_row = 1, plot_col = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.