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()
You have a
label.size
option in theDimPlot
function. TypeDimPlot 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
Hello Bastien Herve,
Thank you so much for your great help!
Add
label.size=10
inDImPlot
.Thank you again!
Best,
Yue