check_feature_abd {MMUPHin}R Documentation

Check feature abundance table

Description

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).

Usage

check_feature_abd(feature_abd)

Arguments

feature_abd

feature-by-sample matrix of abundances (proportions or counts).

Value

returns an error if any of the check fails. Otherwise either "counts" or "proportions"


[Package MMUPHin version 1.7.2 Index]