PlotRF.Classify: Plot Random Forest Classification

View source: R/general_anal.R

PlotRF.ClassifyR Documentation

Plot Random Forest Classification

Description

This functions plots the classification of samples from the Random Forest analysis.

Usage

PlotRF.Classify(
  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.