Comments (5)
Try this on master:
library("scater")
example_sce <- mockSCE()
example_sce <- logNormCounts(example_sce)
colData(example_sce) <- cbind(colData(example_sce), perCellQCMetrics(example_sce))
plotColData(example_sce, y = "detected", x = "Cell_Cycle", colour_by = "Mutation_Status", point_fun = function(...) list())
from scater.
Hi, thanks for fixing this. But it would still be nice to be able to fill the violins with colors to indicate clusters, as in Seurat. However, there's no fill_by
argument. Also, I feel like point_fun = function(...) list()
is kind of cumbersome and confusing to users who aren't very fluent in R. It would be nice to have an argument like plot_points = FALSE
.
from scater.
I don't know how common it is for people to not want points, and point_fun is a more flexible option than plot_points, so I'm going to leave it as is for now.
I'm slightly dubious about fill_by here as in the case that it's not the same as x
you then have to start specifying positions and complexity may balloon slightly
from scater.
Hey,
First thanks a lot for developing and maintaining this package.
I agree that the fill_by
argument would be also very good in these cases where you don't want to plot each individual point but just want to see the shape. I have seen that you have it in your code. The problem is that if I combine both options fill_by
and point_fun = function(...) list()
I have not been able to modify the colors of the violin plots and all my violins have the same color.
plotColData(all_sce, x="ident",y="sum" ,point_fun = function(...) list(), fill_by = "ident")
Is there an option to just plot the shape of the violin and fill it according to your particular interest?
Thanks for any help you might be able to provide,
Kike
from scater.
I'm going to open a separate issue (#175) as this is unrelated to the original topic.
Please submit any suggestions or feedback there instead
from scater.
Related Issues (20)
- Issue with runTSNE and deprecated parameter, i.e. use_dimred? HOT 1
- Centering labels in plotReducedDim with force = 0 HOT 3
- Pass to num_jobs for snifter
- `plotDots` should document that `features=` can accept a factor to control the order HOT 6
- Handling genes with zero expression when using `scale = TRUE` in `plotDots()` HOT 3
- Add a `projectReducedDims` function HOT 5
- Use import or importFrom for `pheatmap` HOT 3
- can plotUMAP offer a order parameter HOT 6
- Create rasters for plots involving many, many points HOT 4
- fill_by for violin plots HOT 5
- plotGroupedHeatmap not colouring appropriately. HOT 1
- ggbeeswarm dependency HOT 1
- aes_string deprecation leads to incredibly hacky code HOT 4
- plotPCA not coloring points HOT 2
- Include colData in plotReducedDim ggplot object p$data? HOT 5
- Adding alias to exprs_values argument HOT 3
- Argument naming: "assay_name" (scater) vs. "assay.type" (scuttle) HOT 2
- Use scattermore to speed up plotColData and plotReducedDim for large datasets HOT 4
- Gene names in nmf basis HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scater.