Seurat FeaturePlot across stims
Hello,
I have a very basic questions. I have a 'Seurat' file that I've analysed and is a merge of 8 different conditions. When plotting expression of a gene :
FeaturePlot(XSeurat.combined, features = 'Runx2', split.by = 'stim)
It shows me the expression of Runx2 across all conditions. Is there a way to modify the above so I can see only 1 or 2 conditions that I want?
Thank you.
• 2,886 views
•
link
0 answers
No answers yet.
Log in to answer this question.
Prior to
FeaturePlotyou can subset seurat object to include the required conditions.Thanks, did it using the below, leaving the code below as reference if anyone else runs into something similar. Would still be good to know if there is a way of doing it using a plotting function rather than having to subset things.