trimming.table | R Documentation |
From fastp runs in ORFik alignment process
trimming.table(
trim_folder,
raw_libraries = dir(trim_folder, "\\.json$", full.names = TRUE),
include_adapter = FALSE
)
trim_folder |
folder of trimmed files, only reads fastp .json files. Can be NULL if raw_libraries is defined |
raw_libraries |
character, default:
|
include_adapter |
logical, default FALSE. If TRUE, will add an extra column: adapter, with adapter found. If not found, it will specify: "passed". |
a data.table with 6 columns, raw_library (names of library), raw_reads (numeric, number of raw reads), trim_reads (numeric, number of trimmed reads), raw_mean_length (numeric, raw mean read length), trim_mean_length (numeric, trim mean read length). Optional columns: adapter (character, adapter, if not found "passed")
# Location of fastp trimmed .json files
trimmed_file <- system.file("extdata/test_processing/trim",
"output_template.json", package = "ORFik")
trimmed_folder <- dirname(trimmed_file)
trimming.table(trimmed_folder)
trimming.table(NULL, trimmed_file)
trimming.table(NULL, trimmed_file, include_adapter = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.