PlotImpBiomarkers: Plot selected compounds by their percentage frequency

View source: R/biomarker_utils.R

PlotImpBiomarkersR Documentation

Plot selected compounds by their percentage frequency

Description

Plot the important variables of single biomarker model ranked by order of importance

Usage

PlotImpBiomarkers(mSetObj=NA, imgName, format="png", dpi=72, 
mdl.inx, measure = "freq", feat.num = 15)

Arguments

mSetObj

Input the name of the created mSetObj (see InitDataObjects)

imgName

Input a name for the plot

format

elect the image format, "png", of "pdf".

dpi

Input the dpi. If the image format is "pdf", users need not define the dpi. For "png" images, the default dpi is 72. It is suggested that for high-resolution images, select a dpi of 300.

mdl.inx

Model index, -1 selects the model with the best AUC, input 1-6 to view the important features of one of the top six models

measure

Choose to rank features by the frequency of being selected "freq", or the mean importance measure "mean"

feat.num

Input the number of features to include in the plot, by default it is 15.

Author(s)

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


xia-lab/MetaboAnalystR documentation built on Dec. 23, 2024, 3:44 p.m.