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.


jfukuyama/phyloseqGraphTest documentation built on Feb. 11, 2024, 4:09 a.m.