Victorian-Bioinformatics-Consortium / degust

Deprecated : Use https://github.com/drpowell/degust
GNU General Public License v3.0
44 stars 15 forks source link

Error handing for incorrectly-specified conditions/replicates #48

Open AnnaSyme opened 7 years ago

AnnaSyme commented 7 years ago

On the configuration page, when specifying conditions and their replicates:

If only two conditions are specified (with one replicate in each), or each replicate is incorrectly saved as a "condition", the error is:

Error in approxfun(l, rule = 2) : need at least two non-NA values to interpolate Calls: voom -> approxfun Execution halted

@tseemann suggests enhancement to catch this error better by telling user that each condition needs several replicates? (I know it does already say this in the uploading instructions though!).

drpowell commented 7 years ago

Yes, better error reporting there is a good idea. You don't actually need replicates for every condition (although you should)