extracting input files form Seurat
1
0
Entering edit mode
14 months ago
rasing02 • 0

Hi,

I am using codes pasted below to obtain Volcano plots, dot plots, feature plot etc for the single cell data analysis by using commands pasted below:

VlnPlot(Seurat_object, features = "X", group.by = "Names",split.by= "condition", slot="data")
DotPlot(Seurat_object, features ="X") + RotatedAxis()
RidgePlot(Seurat_object, features = "X", assay = "RNA", group.by = "condition",slot="data")
FeaturePlot(Seurat_object, features = "X", slot="data", split.by= "condition",label=TRUE)

I wanted to learn how to extract the input files Seurat uses to generate these figures?

Thank you

Best,
R

Seurat Single-Cell • 1.1k views
ADD COMMENT
1
Entering edit mode

Just to be clear, you want to export the (input) data used for plots into actual files?

ADD REPLY
0
Entering edit mode

Yes, I just need the input data so that investigators can use tools other than R to visualize the data in form of viloin plots or feature plots or dot plots or box plots etc

ADD REPLY
0
Entering edit mode

Thank you jared.andrews07

ADD REPLY
2
Entering edit mode
14 months ago

You can get the data behind any of the plots easily enough:

p <- VlnPlot(Seurat_object, features = "X", group.by = "Names",split.by= "condition", slot="data")
p$data # Contains all the info used in the plot.
ADD COMMENT
0
Entering edit mode

Thank you for your help

ADD REPLY

Login before adding your answer.

Traffic: 2394 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