-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add design to report #189
Add design to report #189
Conversation
|
||
# If DESeq2 was run instead of Limma, add designs to report | ||
if (params$study_type %in% c('rnaseq')) { | ||
contrasts_to_print[["DESeq2 models"]] <- paste('~ 0 + ', ifelse(contrasts_to_print$Blocking != '', make.names(contrasts_to_print$Blocking), ''), '+ ', make.names(contrasts_to_print$Variable)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not a fan of this, since it will require careful attention if the DESeq2 module is updated.
If you really want this, suggest you have DESeq2 (and, ideally, Limma) modules output the models in some way, so we can retrieve it here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I also considered that...Alright, will for now have a look at adding some DESeq2 output
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I worry about keeping this up to date with module code- reject for now.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking pretty good- don't forget the changelog, and could you post an example report from this?
Here you go: SRP254919.html.zip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Noticing we have the '+ +' we should fix in the d/e modules, but looks good.
This PR adds the design formulas to the contrasts table in the report file as in this example:
SRP254919_design.html.zip
PR checklist
nf-core lint
).nextflow run . -profile test,docker --outdir <OUTDIR>
).docs/usage.md
is updated.docs/output.md
is updated.CHANGELOG.md
is updated.README.md
is updated (including new tool citations and authors/contributors).