wrong output on R Shiny: as numeric(0). Why?

20 views
Skip to first unread message

Davide Piffer

unread,
May 25, 2015, 9:57:51 AM5/25/15
to shiny-...@googlegroups.com
The code I used in this App works fine when I run it on R but for some reason it doesn't work when I embed it into the Shiny code. The output it produces is as.numeric(0) instead of the allele count. This App reads a .txt file (23andMe raw genome), counts alleles at specific SNPs and it should return the allele count. I attach the ui.R and server.R files and the traditional R script (scriptallelecount.R). Sample data (the genome to be uploaded by the App or read running the R script) can be downloaded from this link: https://osf.io/wsx4c/
server.R
ui.R
scriptallelecount.R
Reply all
Reply to author
Forward
0 new messages