RF.Anal: Performs Random Forest Analysis

View source: R/general_anal.R

RF.AnalR Documentation

Performs Random Forest Analysis

Description

This functions performs the Random Forest (RF) analysis.

Usage

RF.Anal(mbSetObj, treeNum, tryNum, randomOn, variable, taxrank)

Arguments

mbSetObj

Input the name of the mbSetObj. By default, the name should be mbSet.

treeNum

Numeric, input the number of trees to grow.

tryNum

Numeric, input the number of predictors to try.

randomOn

Randomness setting. 1 is on, 0 is off.

variable

Character, input the experimental factor for classification.

taxrank

Character, input the taxonomic level to perform classification. For instance, "OTU-level" to use OTUs.

datatype

Character, "16S" if performing RF on 16S rRNA marker gene data and "metageno" if performing RF on shotgun metagenomic data.

Author(s)

Jeff Xia jeff.xia@mcgill.ca McGill University, Canada License: GNU GPL (>= 2)


xia-lab/MicrobiomeAnalystR documentation built on April 17, 2024, 7:45 p.m.