IOBR / IOBR

IOBR is an R package to perform comprehensive analysis of tumor microenvironment and signatures for immuno-oncology.
https://iobr.github.io/book/
GNU General Public License v3.0
204 stars 53 forks source link

CANT RUN FUNCTION cell_bar_plot with ERROR:不能给维度小于二的对象设'colnames' #58

Open You-rui opened 1 year ago

You-rui commented 1 year ago

在我运行 im_cibersort <- deconvo_tme(eset = expr_coad, method = "cibersort", arrays = F, perm = 10) 后,用cellbarplot画图时: res<-cell_bar_plot(input = im_cibersort[1:12,], title = "CIBERSORT Cell Fraction") 提示Error in colnames<-(*tmp*, value = gsub(colnames(input_df), pattern = patterns_to_na[i], : 不能给维度小于二的对象设'colnames' 然而 class(im_cibersort) [1] "tbl_df" "tbl" "data.frame" dim(im_cibersort) [1] 524 26 均显示正常 但结果就是无法跑出来,用了很多个其他人的数据都不行

amandaqiuuu commented 1 year ago

same problem here.

Eileannayu commented 1 year ago

same problem here.

yi-96 commented 1 year ago

SAME PROBLEM

Eileannayu commented 1 year ago

你好你好,我已经收到邮件了。

DongqiangZeng0808 commented 1 year ago

Thanks to the users for the information. We have made changes to IOBR for the above-reported error. Please update IOBR to solve the problem.

detach("package:IOBR") path<-.libPaths() remove.packages(c('IOBR'), lib=file.path(path)) devtools::install_github("IOBR/IOBR")