PlotRF.VIP: Plot variable importance ranked by MeanDecreaseAccuracy

View source: R/general_anal.R

PlotRF.VIPR Documentation

Plot variable importance ranked by MeanDecreaseAccuracy

Description

This functions plot variable importance ranked by MeanDecreaseAccuracy from the random forest analysis.

Usage

PlotRF.VIP(mbSetObj, feature, imgName, format = "png", dpi = 72, width = NA)

Arguments

mbSetObj

Input the name of the mbSetObj.

feature

Numeric, input the number of important features. This is more for RF.VIP to make the sizes of the plot consistent.

imgName

Character, input the name of the plot.

format

Character, by default the plot is .png format.

dpi

The dots per inch. Numeric, by default it is set to 72.

width

Width of the plot. Numeric, by default it is set to NA.

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.