check_feature_abd {MMUPHin} | R Documentation |
Given a feature abundance table, make sure that a) it has no missing values, b) all values are non-negative, c) it is either proportions (all no greater than 1) or counts (all integers).
check_feature_abd(feature_abd)
feature_abd |
feature-by-sample matrix of abundances (proportions or counts). |
returns an error if any of the check fails. Otherwise either "counts" or "proportions"