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

View source: R/functions.R

filterByPhenoR Documentation

Function to filter the MRexperiment by certain phenotype values

Description

Function to filter the MRexperiment by certain phenotype values

Usage

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

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


zoecastillo/microbiomeExplorer documentation built on Sept. 11, 2022, 7:40 a.m.