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

averageHeatmap errors #63

Open
xiaochun321 opened this issue Nov 14, 2024 · 1 comment
Open

averageHeatmap errors #63

xiaochun321 opened this issue Nov 14, 2024 · 1 comment

Comments

@xiaochun321
Copy link

this is my object,
colnames([email protected])
[1] "orig.ident" "nCount_RNA" "nFeature_RNA"
[4] "percent.mt" "DF.classifications" "S.Score"
[7] "G2M.Score" "Phase" "old.ident"
[10] "stim" "integrated_snn_res.0.5" "seurat_clusters"
[13] "cell_type" "cell_type_marker"

if i run the follow code,
geneset <- c("Actb","Ythdc1", "Ythdf2")
averageHeatmap(object = seurat.obj, group.by = "seurat_clusters",
markerGene = geneset)
it wrongs,
averageHeatmap(object = seurat.obj, group.by = "seurat_clusters",

  •            markerGene = geneset)
    

Error in dimnames(x) <- dn : 'dimnames'的长度[2]必需与陈列范围相等

How to solve the problem? Thank you.

@junjunlab
Copy link
Owner

Please upload your test data, let me have a check.

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