You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello!
I am trying to use your package, which looks very promising! The examples you provided work perfectly fine for me, but when I try to run it for my own idxstats files R gives the following error:
Error in rowMeans(mat[, g == 1]) :
'x' must be an array of at least two dimensions
the above is when I try to use it in R, it happens when I try to run the sexDetermine function. I also tried doing it in shiny, but get the same error message as above.
I suspect it must be something wrong with my idxstats input files (i have six). Here is an example how the head of these files look like. First column is the name of the scaffold, then length, then number of mapped and unmapped reads.
Hi,
The idxstat looks fine. It is possible that our default filtering threshold, filter out all the scaffolds you have. Can you play around with setting a lower threshold of minLength? and if you run it in R, you may also check the dim(idx[[1]]) compared with dim(rFilt[[1]]), that will give you number of scaffolds before and after filtering.
Hello!
I am trying to use your package, which looks very promising! The examples you provided work perfectly fine for me, but when I try to run it for my own idxstats files R gives the following error:
the above is when I try to use it in R, it happens when I try to run the sexDetermine function. I also tried doing it in shiny, but get the same error message as above.
I suspect it must be something wrong with my idxstats input files (i have six). Here is an example how the head of these files look like. First column is the name of the scaffold, then length, then number of mapped and unmapped reads.
Do you have any idea what might be causing the error and how to make it work?
The text was updated successfully, but these errors were encountered: