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 processing xcell analysis #78

Closed
tjer1ryom opened this issue Dec 7, 2023 · 7 comments
Closed

Error in processing xcell analysis #78

tjer1ryom opened this issue Dec 7, 2023 · 7 comments

Comments

@tjer1ryom
Copy link

tjer1ryom commented Dec 7, 2023

Hi,
I have been interested in for immune infiltration analysis for a while and impressed by xcell.But many RNA expression dataset i collected from GEO cannot perform xcell and it replies like

xcell<-xCellAnalysis(GSE77167,rnaseq=F)

  • [1] "Num. of genes: 0"
  • [1] "ERROR: not enough genes"
  • Error in return - 1 : non-numeric argument to binary operator

I have checked the normalization process and each dataset contains enough gene(~20000).I cannot firure out why this happened and it have bothered me some days:(
I am dull, please tell me!

@tjer1ryom tjer1ryom changed the title Frequently error in processing xcell analysis Error in processing xcell analysis Dec 7, 2023
@dviraran
Copy link
Owner

dviraran commented Dec 7, 2023

[1] "Num. of genes: 0"

This means that the rownames in your data are not gene symbols. xCell assumes that you are using gene symbols and not some other gene ids.

Best,
Dvir

@tjer1ryom
Copy link
Author

Thank for your reply!
According to your prompt, I rechecked the column of gene symbols (rownames) and confirmed that they indeed represent genes. However, it includes pseudogenes and mitochondrial genes, etc. It may be a problem.
Additionally, I attempted to integrate the gene expression data into another dataset and found that it can be analyzed normally, which confuses me. The data I am analyzing has undergone log2 transformation and limma differential analysis. I am not sure if this has an impact, or if I should analyze the original data.
I've uploaded the gene expression matrix file. If you could spare a moment to see where something might have gone wrong, I'd be very grateful!
Yours,
Tj
GSE77167_norm_exp_data.txt

@tjer1ryom
Copy link
Author

The same problem also occurs here, only endured background correction, rma normalizaion and gene expression index calculation of probe intensities.
Really want to konw the cause and the solution, pls QAQ
Sorry for my disturbance.
GSE122626_norm_exp_data.txt

@dviraran
Copy link
Owner

For some reason you have an extra space in all the gene names. rownames(a) = gsub(' ','',rownames(a)) should fix that...

@tjer1ryom
Copy link
Author

Apologize for my silence for weeks, and thank for your reply from the bottom of my heart!
However, there's another issue emerged:

  • xcell<-xCellAnalysis(GSE75050.norm, rnaseq=F)
  • [1] "Num. of genes: 10514"
  • Error: useNames = NA is defunct. Instead, specify either useNames = TRUE or useNames = FALSE.

The same data can be analysied in the web xcell, so i wonder what's wrong and how can i figure it out. (i have updated all packages and changed network enviroment)
Thanks again!
Yours,
Tj

@dviraran
Copy link
Owner

dviraran commented Jan 1, 2024

It's an issue with the matrixStats package. It made havoc throughout many packages. You need to upgrade your BioConductor and all associated with packages.

Best,
Dvir

@tjer1ryom
Copy link
Author

I conquer it! tooooooooooo much appreciation for you!!!
Wish you a wonderful 2024! :)
Yours,
Tj

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