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

Repoer error when run plot_pseudotime_heatmap in monocle2, call for help. #519

Open
JWDu0122 opened this issue Sep 29, 2024 · 2 comments
Open

Comments

@JWDu0122
Copy link

cds = readRDS("./cds_heatamp.rds")
Time_diff = read.csv("./20240923/3/Time_diff_all.csv")
Time_genes <- Time_diff$gene_short_name[order(Time_diff$qval)][1:1000]
p5 = plot_pseudotime_heatmap(cds[Time_genes,], num_clusters=5, show_rownames=F, return_heatmap=T)
simpleError in checkwz(wz, M = M, trace = trace, wzepsilon = control$wzepsilon): NAs found in the working weights variable 'wz'>
errori n if (x@family@vfamily %in% c("negbinomial", "negbinomial.size")) {:
the condition has length > 1

sessionInfo()
R version 4.4.1 (2024-06-14 ucrt)
Platform: x86_64-w64-mingw32/x64
Running under: Windows 10 x64 (build 19045)

Matrix products: default

locale:
[1] LC_COLLATE=Chinese (Simplified)_China.utf8 LC_CTYPE=Chinese (Simplified)_China.utf8
[3] LC_MONETARY=Chinese (Simplified)_China.utf8 LC_NUMERIC=C
[5] LC_TIME=Chinese (Simplified)_China.utf8

time zone: Asia/Shanghai
tzcode source: internal

attached base packages:
[1] splines stats4 stats graphics grDevices utils datasets methods base

other attached packages:
[1] monocle_2.33.0 DDRTree_0.1.5 irlba_2.3.5.1 VGAM_1.1-12 ggplot2_3.5.1
[6] Biobase_2.60.0 BiocGenerics_0.51.2 Matrix_1.7-0

@ExpertS04p
Copy link

I have the same problem...

@JWDu0122
Copy link
Author

I have the same problem...

you can try select top50 gene rerun

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