filterByPheno: Function to filter the MRexperiment by certain phenotype...

Description Usage Arguments Value Author(s) Examples

View source: R/functions.R

Description

Function to filter the MRexperiment by certain phenotype values

Usage

1
filterByPheno(MRobj, rm_phenovalues)

Arguments

MRobj

the MRexperiment to subset

rm_phenovalues

list of named vectors with names corresponding to column names in pData and values representing phenotypes within the column

Value

the filtered MRobj

Author(s)

Janina Reeder

Examples

1
2
3
data("mouseData", package = "metagenomeSeq")
filterByPheno(MRobj = mouseData, 
  rm_phenovalues = list("diet" = c("BK"),"mouseID" = c("PM1","PM10")))

microbiomeExplorer documentation built on Nov. 8, 2020, 8:16 p.m.