Identity of the RidgePlot in single cell
1
1
Entering edit mode
4.3 years ago
yueli7 ▴ 250

Hello,

I used the RidgePlot to make the plot. What is the definition of "Identity", what is the mean of the "identity"? Is that possible I can delete "Identity"?

RidgePlot(Plasma, features = c("UCP2"), group.by="tech", ncol = 3)

Thank you in advance for your great help!

Please see attached file

Thank you!

Best,

Yue

Screenshot-from-2020-08-27-03-58-17

rna-seq • 2.2k views
ADD COMMENT
4
Entering edit mode
4.3 years ago

Hi,

Identity is the identity of the cells in scRNA-seq data. It's not directly related with this plot, but with scRNA-seq data in general. So, the identity is any factor/categorical variable that describes each cell. The identity of the cells can be the sample, replicate, condition, cell cluster to which they belong to.

In your case it seems to be condition or sample. But you can set the identity to cell clusters/populations/types any variable that annotates each cell to a factor/categorical variable.

You can see the identity of your cells by typing:

Idents(pbmc) # assuming that pbmc is your seurat object

You can set the identity of your cells to another variable in your seurat object by doing:

Idents(pbmc) <- "replicate"

Where replicate is a variable in your seurat object - "pbmc" - annotating each cell as rep1 or rep2 (see the example here: https://satijalab.org/seurat/v3.0/interaction_vignette.html ).

I hope this answers your question,

António

ADD COMMENT
0
Entering edit mode

Hello antonioggsousa,

Thank you so much for your detailed explanation and great help!

Thank you!

Best.

Yue

ADD REPLY

Login before adding your answer.

Traffic: 1867 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6