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

Error in data.frame(barcodes = barcodes, cell_type = celltype) : arguments imply differing number of rows: 0, 1 Calls: scImmuCC_Layered -> scImmuCC_main -> data.frame #5

Open
6Lillian opened this issue Mar 29, 2024 · 0 comments

Comments

@6Lillian
Copy link

你好,我用了一个行为基因列为细胞名的矩阵counts作为输入数据,遇到了报错,输出目录的已存在很多文件,和示例数据运行的结果比较,输出的文件好像也是正常的,想问下这个报错对结果有影响吗?
counts = read.csv('data.csv',row.names = 1)
counts <- as.matrix(counts) # Convert test data to matrix
test <- scImmuCC_Layered(count = counts ,Non_Immune = FALSE)
报错内容如下:
Using method 'umap'
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
**************************************************|
15:37:14 Optimization finished
Warning: Scaling data with a low number of groups may produce misleading results
Error in data.frame(barcodes = barcodes, cell_type = celltype) :
arguments imply differing number of rows: 0, 1
Calls: scImmuCC_Layered -> scImmuCC_main -> data.frame
In addition: There were 29 warnings (use warnings() to see them)
Execution halted

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

1 participant