validGrouping: Check for valid grouping

View source: R/graphtest-functions.R

validGroupingR Documentation

Check for valid grouping

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

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 29, 2024, 11:23 a.m.