validGrouping: Check for valid grouping

Description Usage Arguments Value

Description

Grouping should describe a repeated measures design, so this function tests whether all of the levels of grouping have the same value of sampletype.

Usage

1
validGrouping(sd, sampletype, grouping)

Arguments

sd

Data frame describing the samples.

sampletype

The sampletype used for testing.

grouping

Grouping for repeated measures.

Value

TRUE or FALSE for valid or invalid grouping.


phyloseqGraphTest documentation built on May 2, 2019, 4:20 a.m.