title | output |
---|---|
MRS |
html_document |
knitr::opts_chunk$set(echo = TRUE)
Welcome to MRS's page!
To install the development version from github:
library(devtools)
install_github("chanw0/MRS")
Once installed, the package can be loaded using:
library("MRS")
1.1 using ANCOMBC method and Shannon index
discovery=GMHI[[1]];
validation=GMHI[[2]];
res=MRS(discovery, validation, GroupID="Group", DA.method="ancombc", measurement="shannon")
AUC=res[[3]]
1.2 using ALDEx2 method and Shannon index
res=MRS(discovery, validation, GroupID="Group", DA.method="ALDEx2", measurement="shannon")
AUC=res[[3]]
Example 2 Evaluation of MRS in terms of comparison between Healthy and a specific disease Healthy vs. CA
discovery.sub=prune_samples(sample_data(discovery)$Group1 %in% c("Healthy","CA"),discovery)
validation.sub=prune_samples(sample_data(validation)$Group1 %in% c("Healthy","CA"),validation)
res=MRS(discovery.sub, validation.sub, GroupID="Group", DA.method="ALDEx2", measurement="shannon")
AUC=res[[3]]
MRS is developed by:
- Chan Wang
- Huilin Li
- Chan Wang
- Huilin Li