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 NAs are not allowed in subscripted assignments #26

Open
sinjia7 opened this issue Jul 10, 2019 · 0 comments
Open

Error NAs are not allowed in subscripted assignments #26

sinjia7 opened this issue Jul 10, 2019 · 0 comments

Comments

@sinjia7
Copy link

sinjia7 commented Jul 10, 2019

Hellow GSALightning team,

I have been recently using this program to compute p-values for gene lists within a gene expression dataset. However, I have not gotten the program to work on any gene sets. I always get the same exact error after using this line of code:

GSALightResults <- GSALight(eset = test1, fac = factor(id$study), gs = test, rmGSGenes = 'gene', nperm = 1000)

The error I keep on getting is

Error in obs[obs2 > obs1] <- -1 * obs[obs2 > obs1] : NAs are not allowed in subscripted assignments

I am not sure how to fix this. I have attached the expression dataset (a smaller version) as well as the fac set which just contains one name for all cells. I did not include a specific gene list because this problem persists on any gene list I input. Any help would be appreciated. Thank you!
id.txt
expressionmatrix.txt

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