Skip to content
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

Generate Methods section boilerplate text #23

Open
mikelove opened this issue Dec 30, 2019 · 5 comments
Open

Generate Methods section boilerplate text #23

mikelove opened this issue Dec 30, 2019 · 5 comments

Comments

@mikelove
Copy link
Collaborator

No description provided.

@federicomarini
Copy link

Just chiming in, since I have recently always tried to have some kind of functionality like this in my recent packages.
If you want to discuss some aspects, happy to exchange some opinions 😃

@mikelove
Copy link
Collaborator Author

mikelove commented Jan 7, 2020

Sure, so I was thinking of this because of some discussion from the CWL folks about generating Methods section text with versions.

Given that tximeta knows the Salmon / alevin version and the source and release for the transcriptome for human, mouse, and drosophila, it's just a paste command to generate a bit of text like:

Salmon version X [cite1] was used to quantify expression of the GENCODE [cite2] release X human reference transcripts.

[cite1] Patro et al 2017 ...
[cite2] Frankish et al 2018 ...

Tximeta could also add other details like:

The average number of mapped reads across samples was XX.X million [min, max].

Can you point me to what you've added to recent packages?

@federicomarini
Copy link

Ok, I thought you wanted something more extended.

What I was referring to is for example what I did in pcaExplorer, ideal, and more recently in GeneTonic. These are all Shiny apps where I also include an Rmd document with the app that picks the values from reactive elements (or for GeneTonic some parameters passed "offline", as in batch mode), and compile the HTML document.
See here e.g. for the report of GeneTonic (called via happy_hour, because naming matters indeed): https://github.com/federicomarini/GeneTonic/blob/master/inst/extdata/cocktail_recipe.Rmd

@mikelove
Copy link
Collaborator Author

mikelove commented Jan 7, 2020

Ah cool!

Yeah, I guess the title of this feature request is overly ambitious. I just mean Methods section boilerplate text. I should clarify.

@mikelove mikelove changed the title Automatic report generation Generate Methods section boilerplate text Jan 7, 2020
@federicomarini
Copy link

Well it would still make the feature highly desired.
It's not that we are lazy (or in other terms, we tend to optimize the usage of time 😄 ), but often times we do errors in doing things manually, and exactly in these cases a machine-automated solution is just the way to go

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants