Description Usage Arguments Value See Also Examples
This function plots the GC%
of each of the samples. If
info regarding the group
each sample
belongs to is also
available, then the generated plot will take that into account to colour /
facet accordingly.
1 | plot_gc_stats(..., interactive = TRUE, geom = c("jitter", "point", "bar"))
|
interactive |
logical, default is |
geom |
Possible values are |
... |
The set of |
The plot object
fastqc
plot_dup_stats
plot_sequence_quality
plot_total_sequence_stats
1 2 3 4 5 6 7 8 9 10 11 12 | path <- system.file("tests/fastqc-sample", package="ggfastqc")
obj <- fastqc(sample_info = file.path(path, "annotation.txt"))
# interactive = TRUE (plotly)
plot_gc_stats(sample = obj) # jitter
plot_gc_stats(sample = obj, geom = "point")
plot_gc_stats(sample = obj, geom = "bar")
# interactive = FALSE (ggplot2)
plot_gc_stats(sample = obj, interactive = FALSE) # jitter
plot_gc_stats(sample = obj, interactive = FALSE, geom = "point")
plot_gc_stats(sample = obj, interactive = FALSE, geom = "bar")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.