Closed kevinrue closed 7 years ago
Yes, this makes good sense - thanks for the suggestion/catch. Hoping to get back to some scater devel next week!
Hi Kevin
This should be working as desired in the current version of scater
. I don't know off the top of my head exactly when this was changed/added, but it should be fine now.
e.g.
plotReducedDim(example_sceset, colour_by = "Gene_0001")
plotReducedDim(example_sceset, colour_by = "Gene_0001", exprs_values = "counts")
both work for me in version 1.3.39. Do let me know if you're not getting the expected behaviour.
Best Davis
Yep, all good on my end (installed with devtools::install_github
).
Thanks !
Dear Davis,
I just realised that the
plotReducedDim.SCESet
function uses values stored inexprs(object)
when overlaying gene expression data on reduced dimensions plot: See https://github.com/Bioconductor-mirror/scater/blob/master/R/plotting.R#L1591From your separate message on my pull request, I know you're swamped in work at the moment, but do you agree that it would be nice to let users pick the
assayData
slot from which to use gene expression data in this function? Something like theexprs_values
argument of theplotSCESet
function for instance:All the best, Kevin