Question: How can the letters become bigger?
0
gravatar for yueli7
3 months ago by
yueli7190
China
yueli7190 wrote:

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 • 150 views
ADD COMMENTlink written 3 months ago by yueli7190

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 REPLYlink modified 3 months ago • written 3 months ago by Bastien Hervé4.9k

Hello Bastien Herve,

Thank you so much for your great help!

Add label.size=10 in DImPlot.

Thank you again!

Best,

Yue

ADD REPLYlink written 3 months ago by yueli7190
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1792 users visited in the last hour