TestMatchedControlMixedModel: Create and test a mixed effect model between two sample types...

Description Usage Arguments

Description

Create and test a mixed effect model between two sample types and study groups (e.g. BAL and prewash, tissue and paraffin), where the interaction term for the model is the coefficient of interest.

Usage

1
2
TestMatchedControlMixedModel(agg, grouping.var = "OriginatingSampleID",
  tax.level = "Genus", sparsity = 0.1)

Arguments

agg

an agglomerated data frame; ensure the StudyGroup and SampleType levels are ordered correctly (i.e. interesting ones last)

grouping.var

the column defining the sample/control grouping

tax.level

the taxonomic level to test; lower levels will be summed

sparsity

the proportions of zeros below which a taxa will be skipped


eclarke/SarcoidMicrobiome documentation built on May 15, 2019, 7:53 p.m.