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
Plot order VlnPlot #454
Comments
Hi, You can simply set an order of cluster identities as follows: # Define an order of cluster identities
my_levels <- c(4,3,2,1)
# Relevel object@ident
object@ident <- factor(x = object@ident, levels = my_levels) Best, |
Thanks, Leon!
…----------
Dr. med Dipl.-Math. Christian Hinze
AG Schmidt-Ott
Max-Delbrück-Centrum
für Molekulare Medizin (MDC) Berlin-Buch
Robert-Rössle-Str. 10
13125 Berlin
Tel.: +49 30 9406 3240
christian.hinze@mdc-berlin.de
Medizinische Klinik mit Schwerpunkt Nephrologie
Charité - Universitätsmedizin Berlin
Campus Benjamin Franklin
Hindenburgdamm 30
12203 Berlin
Tel. +49 30 8445 2441
christian.hinze@charite.de<mailto:kai.schmidt-ott@charite.de>
________________________________
Von: Leon Fodoulian [notifications@github.com]
Gesendet: Mittwoch, 2. Mai 2018 19:55
An: satijalab/seurat
Cc: balthasar0810; Author
Betreff: [ext] Re: [satijalab/seurat] Plot order VlnPlot (#454)
Hi,
You can simply set an order of cluster identities as follows:
# Define an order of cluster identities
my_levels <- c(4,3,2,1)
# Relevel object@ident
object@ident <- factor(x = object@ident, levels = my_levels)
Best,
Leon
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#454 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AJwpDB_rc2gx1PBdV95MPfz91sk3Qyd7ks5tufMHgaJpZM4Tvyn0>.
|
Could you please close this issue? Thank you! |
Hello: I am new to Seurat. How do I do this in Seurat 3? The method described above does work. |
Hello everyone, I am struggling to change the order of my clusters in the graphs using seurat v3.0. |
I am also wondering how to apply this to version 3. Thanks! |
This works for me in S v3. object_copy <- object VlnPlot(object_copy, features = c("some_gene")) study the command changes here [under tab S v2.x vs S v3.X] to transition from v2 to v3 |
fix bugs in mapping score precomputed neighbors
Dear all,
this is maybe a trivial question but how can I provide the exact sample order in VlnPlots?
Thanks and sorry, Christian
The text was updated successfully, but these errors were encountered: