Description Usage Arguments Details Value See Also Examples
fastqc
function parses all the summary statistics of
reports produced by FastQC
tool and returns a data.table
with
two columns: param
and value
.
Each row of the value
column contains the data corresponding to that
param
, and is itself
a data.table
.
1 | fastqc(sample_info)
|
sample_info |
Full path to file containing details about
|
The file provided to sample_info
argument should contain
at least these three columns:
sample
- contains the sample
name.
pair
- in case of paired end reads, 1
or 2
corresponding to first and second pair, and in case of single end reads,
NA
.
path
- full path to the fastqc summary report (.txt
file) for each sample.
If just the file name (.txt
) is provided, it is assumed that the
file is in the same folder as the input file provided to
sample_info
argument.
It can also optionally contain a group
column. If present, the plots
generated will take it into account and color
/ facet
accordingly.
An object of class fastqc
which inherits from
"data.table"
, with two columns: param
and value
, where
value
is a list of "data.table"
s.
plot_dup_stats
plot_gc_stats
plot_sequence_quality
plot_total_sequence_stats
1 2 | path = system.file("tests/fastqc-sample", package="ggfastqc")
obj = fastqc(sample_info = file.path(path, "annotation.txt"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.