How can the letters become bigger?
0
0
Entering edit mode
4.2 years ago
yueli7 ▴ 250

Hello,

I made a graph. How can the letters (Macrophage, Dendritic, Plasma....) become bigger?

Thanks in advance for great help!

Best,

Yue

hms_individual_integrated<-readRDS(file="hms_individual_integrated_OK.rds")
DimPlot(hms_individual_integrated, reduction = "umap", group.by = "celltype")
hms_individual_integrated<- FindNeighbors(hms_individual_integrated, dims = 1:10)
hms_individual_integrated <- FindClusters( hms_individual_integrated, resolution = 0.5)
head(Idents(hms_individual_integrated), 5)
hms_individual_integrated<- RunUMAP(hms_individual_integrated, dims = 1:10)
DimPlot(hms_individual_integrated, reduction = "umap")
new.cluster.ids <- c("Macrophage", "Macrophage", "Macrophage", "Macrophage", "Neutrophils", "Macrophage", "Naive_CD4_T", "NK", "Neutrophils", "Dendritic", "T", "T","Basal","Plasma","T") 
names(new.cluster.ids) <- levels(hms_individual_integrated)
hms_cluster_id<- RenameIdents(hms_individual_integrated, new.cluster.ids)
DimPlot(hms_cluster_id, reduction = "umap", label = TRUE, pt.size = 0.5) + NoLegend()

Screenshot-from-2020-09-01-03-36-48

RNA-Seq • 3.0k views
ADD COMMENT
0
Entering edit mode

You have a label.size option in the DimPlot function. Type DimPlot R on google to have the documentation of every R function. Please show some more effort of trying in your future questions.

https://www.rdocumentation.org/packages/Seurat/versions/2.3.2/topics/DimPlot

ADD REPLY
0
Entering edit mode

Hello Bastien Herve,

Thank you so much for your great help!

Add label.size=10 in DImPlot.

Thank you again!

Best,

Yue

ADD REPLY

Login before adding your answer.

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