check_feature_abd: Check feature abundance table

Description Usage Arguments Value

View source: R/helpers.R

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

1
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"


MMUPHin documentation built on April 9, 2021, 6:01 p.m.