JaneliaSciComp / msg

Multiplexed Shotgun Genotyping
http://genomics.princeton.edu/AndolfattoLab/MSG.html
11 stars 12 forks source link

summaryPlots.R - Single Individual Fix #38

Open gregpinero opened 11 years ago

gregpinero commented 11 years ago

Confirm that it isn't able to run on only one individual.

Exit gracefully if so with helpful error message.

The error Sarah was seeing:

$ cat msgRun3.16178.err Error in colMeans(p + p1 - 2 * p * p1, na.rm = na.rm) : 'x' must be an array of at least two dimensions Calls: est.rf.p.profile -> colMeans Execution halted