validGrouping: Check for valid grouping

Description Usage Arguments Value

View source: R/graphtest-functions.R

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 Feb. 7, 2020, 5:07 p.m.