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

Add refs #127

Merged
merged 10 commits into from
Nov 11, 2020
Merged

Add refs #127

merged 10 commits into from
Nov 11, 2020

Conversation

mblue9
Copy link
Collaborator

@mblue9 mblue9 commented Oct 17, 2020

I added some refs here if you want them for voom, edger test methods, epic, llsr, ggplot2.
Guess tidyheatmap can't be added as tidybulk doesn't use it under the hood?

@stemangiola
Copy link
Owner

Cool, I need to intercept this pull request to add the track of those reference in the methods as well (unless you know how to do it).

e.g.

image

But if you prefer to not go as deep I can do it no prob.

Guess tidyheatmap can't be added as tidybulk doesn't use it under the hood?

I though about that XD, we could build a wrapper for tidyHeatmap, so to be able to call it without specifying sample, transcript, count (as we do for any other method). But let's think about that whether it's overkill.

@mblue9
Copy link
Collaborator Author

mblue9 commented Oct 17, 2020

I am happy to have a go at adding tomorrow but I'm not sure everywhere they need to be added so you will need to check 😄

@mblue9
Copy link
Collaborator Author

mblue9 commented Oct 23, 2020

Ok tried to add, could you check when you can.

@mblue9 mblue9 linked an issue Oct 23, 2020 that may be closed by this pull request
@stemangiola
Copy link
Owner

Ok tried to add, could you check when you can.

Looks good to me! For deconvolution you brought inside the when assignments, it should work.

Have to tested by any chance whether the bibliography is ultimately what you expect?

@stemangiola stemangiola added enhancement New feature or request bug Something isn't working and removed enhancement New feature or request labels Oct 23, 2020
@stemangiola
Copy link
Owner

If I manage I might push this change into the new Bioconductor release (going public today)

@mblue9
Copy link
Collaborator Author

mblue9 commented Oct 23, 2020

I'll have a look at testing this now...

@mblue9
Copy link
Collaborator Author

mblue9 commented Oct 23, 2020

Tested running the DE methods separately and together and the refs seem to get added fine.

But get_bibliography does not work with the changes here to the deconvolution methods e.g.

 > get_bibliography(epic_res)
Error in (function (classes, fdef, mtable)  : 
  unable to find an inherited method for function ‘get_bibliography’ for signature ‘"tbl_df"’

But it doesn't seem like it worked before these changes for the deconvolution methods as installing tidybulk from Bioc devel (v 1.1.9) I get same error with method = "get", is only supposed to work with method="add"?

> BRCA_tidy <-
  BRCA %>%
   tidybulk(patient, transcript, count)
> res <- BRCA_tidy %>%
  deconvolve_cellularity(action="get", cores=2)
> get_bibliography(res)
Error in (function (classes, fdef, mtable)  : 
  unable to find an inherited method for function ‘get_bibliography’ for signature ‘"tbl_df"’

Using method="add"

> res <- BRCA_tidy %>%
   deconvolve_cellularity(cores=2)
> get_bibliography(res)

@article{wickham2019welcome,
  title={Welcome to the Tidyverse},
  author={Wickham, Hadley and Averick, Mara and Bryan, Jennifer and Chang, Winston and McGowan, Lucy D'Agostino and Francois, Romain and Grolemund, Garrett and Hayes, Alex and Henry, Lionel and Hester, Jim and others},
  journal={Journal of Open Source Software},
  volume={4},
  number={43},
  pages={1686},
  year={2019}
	}

Cibersort ref is not added.

@stemangiola
Copy link
Owner

is only supposed to work with method="add"?

No. I will have a look.

@stemangiola
Copy link
Owner

stemangiola commented Nov 1, 2020

is only supposed to work with method="add"

[EDIT[

No. Now works in all scenarios. With the new pull request.

@stemangiola stemangiola merged commit 66ca3e3 into stemangiola:dev Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

curate bibliography list
2 participants