meta_ID_error: This function determines which participant names do not match...

Description Usage Arguments Details Value Author(s) See Also Examples

Description

This function determines which participant names do not match between the meta and otu.counts/otu.normed data frames.

Usage

1

Arguments

data

metadata or any other data frame with a participant ID column

otu

otu.normed, otu.counts or any other data frame with a participant ID column

Details

All inputs must have a study_id column

Value

The output is a list of 'study_id's that do not match between the two inputs

Author(s)

atomczik

See Also

meta_ID_match

Examples

1
2
3
4
5
6
## The function is currently defined as
function (data, otu) 
{
    data.error = subset(data, (is.na(pmatch(data$study_id, names(otu)))))
    return(data.error)
  }

dlemas/microbes documentation built on May 15, 2019, 9:15 a.m.