Error in mapScore[, 2] * rounding : non-numeric argument to binary operator
I constructed the mappability data using the instructions here: http://www.stat.wisc.edu/~keles/Software/mosaics/
I then combined the data for each chromosome into one file (same for the GC and N data).
Has anyone else come across this error, and do you have any idea what might be causing it? Could it be an issue with chromosome names? I'm using the Drosophila pseudoobscura genome, so I have somewhat non-standard names like chr4_group1e. However, it seems strange that it was working fine before and now gives me this error.
Cheers,
Sarah
--
You received this message because you are subscribed to the Google Groups "MOSAiCS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mosaics_user_gr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "MOSAiCS User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mosaics_user_group/tBqr7fAImC8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mosaics_user_gr...@googlegroups.com.
The chromosome names do coincide among all the files. However, they aren't in the same order in all the files - would that cause a problem?
Here are the command lines I'm using. I first built the bins from bed files (I've tried using the bin data that I made before and making new bin data; constructBins() works, but I still get an error after calling readBins()):
> summary(mapScore) V1 V2 V3 Length:2821490 Min. : 0 Length:2821490 Class :character 1st Qu.: 2428912 Class :character Mode :character Median : 5642675 Mode :character Mean : 7696876 3rd Qu.:10724800 Max. :30711150For each of the other objects, both columns 2 and 3 are numeric. I don't know if this is due to a problem with my file or the way that R is reading it in (it seems strange that the problem has just come up, when it was working before with the same file). Do you have any suggestions as to how to fix it?
> head(mapScore) V1 V2 V3 1 chr2 0 1.0 2 chr2 50 1.0 3 chr2 100 1.0 4 chr2 150 1.0 5 chr2 200 1.0 6 chr2 250 1.0