Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

visCluster细胞基因的表达热图出现报错 #92

Open
DBL-cmd opened this issue Aug 28, 2024 · 2 comments
Open

visCluster细胞基因的表达热图出现报错 #92

DBL-cmd opened this issue Aug 28, 2024 · 2 comments

Comments

@DBL-cmd
Copy link

DBL-cmd commented Aug 28, 2024

visCluster(object = st.data,

  •        plot.type = "heatmap",
    
  •        markGenes = unique(pbmc.markers1$gene),
    
  •        column_title_rot = 45,
    
  •        cluster.order = 1:9,
    
  •        show_column_names = F)
    

This palatte have 20 colors!
Error in ComplexHeatmap::Heatmap(as.matrix(mat), name = "Z-score", cluster_columns = cluster_columns, :
正式参数"show_column_names"有多个与之相对应的实际参数

@DBL-cmd
Copy link
Author

DBL-cmd commented Aug 28, 2024

@yanpd01 老师,您好!我用prepareDataFromscRNA提取的单细胞的表达谱后绘图,折线图可以实现绘图,但是绘制热图是出现以上报错,麻烦帮我看一下,非常感谢!

@junjunlab
Copy link
Owner

show_column_names参数注释掉就行了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants