DotPlot中的Average expression图注竟然消失了 问题来源 无意间发现seurat中的Dotplot画图时候,不管是在seurat的v4 还是v5版本。都存在这个“bug”:右边本该出现的Averageexpression图注消失了,如何把它恢复呢? 正常的样子,右边是有图注的 代码语言:javascript 复制 DotPlot(pbmc,features=c("CD3E",'C1QA','GZMK'),...
(pbmc3k) <- pbmc3k@meta.data$seurat_annotations features.plot <- c("LYZ", "CCL5", "IL32", "PTPRCAP", "FCGR3A", "PF4") DotPlot(object = pbmc3k, features = features.plot, assay="RNA") + guides(color = guide_colorbar(title = 'Scaled Average Expression')) + theme(axis.text....
# get cells mean gene expression mean_gene_exp <- as.matrix( data.frame( Seurat::AverageExpression(object, features = markerGene, group.by = group.by, assays = assays, slot = slot ) ) ) Modify to: # get cells mean gene expression mean_gene_exp <- as.matrix( data.frame( Seurat::...
Search or jump to... Search code, repositories, users, issues, pull requests... Provide feedback We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to ...