Better data validation
Summary
-
Check if the feature data consist of counts or of relative abundances. Throw an error if not -
Check if the label object is present and in the right format -
should go into the constructor function -
fix the case if features and labels have mutually exclusive samples
Affected functions/datasets/objects
read.features
/cc @zych
Edited by Jakob Wirbel