read mulitple files and overlaying plots #4
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi @kassambara,
I have been working on a package similar to fastqcr, then I found about yours and I think it's well written. I would like to suggest some code to enable a visual comparison between multiple samples:
qc_read_collection
: a simple wrapper to use your functionqc_read
to read multiple FastQC files in a way consistent with other package functions. The output of this function is an object of classqc_read_collection
that can be used to make overlaying plots.This is supposed to work along the lines of the original function, so the output is a list of tibbles and each tibble has an extra column
sample
to track the original file.Output of `r head(qc)`
.plot_gc_content
that produces a line graph of the GC content of multiple samples.And here is the output of calling
plot_gc_content_collection(qc)
If you find these suggestions interesting, I can write the extensions to plotting other modules and figure out a dispatch method on the original
qc_read
class andqc_read_collection
.