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 when saving #50

Open
jessmk36 opened this issue Feb 28, 2023 · 1 comment
Open

Error when saving #50

jessmk36 opened this issue Feb 28, 2023 · 1 comment

Comments

@jessmk36
Copy link

SAM and everything opens and uploads Excel file just fine, AND did with MANY excel sheets that look exactly the same but have 3 that come up with this error when saving:

Warning: Error in <-: length of 'dimnames' [2] not equal to array extent
77: samr.compute.siggenes.table
76: reactive:getAllgenesTable [C:\Users\jessmk\AppData\Local\Temp\RtmpMVWhla\shinyapp7b801fa73be9\SAM-d998a4ed8cba4b7f071ec7f3b5b9606f4c192eed/server.R#472]
60: getAllgenesTable
47: observe [C:\Users\jessmk\AppData\Local\Temp\RtmpMVWhla\shinyapp7b801fa73be9\SAM-d998a4ed8cba4b7f071ec7f3b5b9606f4c192eed/server.R#916]
46:
3: runApp
2: runUrl
1: runGitHub

No difference in the files that worked versus those that give this error so unsure of how to go about fixing the issue, everything I have found via google does not work.

@SamGG
Copy link

SamGG commented Feb 28, 2023

I used to help with issues on that package, but I have no time yet.
The error at server.R#472 refers to a call to samr.compute.siggenes.table(samr.obj,delta, data, delta.table, min.foldchange = min.foldchange, compute.localfdr= input$localFDR, all.genes= TRUE), that is in fact the function really carrying out the calculation. There should be something wrong during the calculation with the data incriminated.
The best way to identify the problem is to get a reproducible example. If you could share 1 file with @MikeJSeo that would help him if he has time.

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