% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/stats_chemometrics.R
\name{PlotPLS.Imp}
\alias{PlotPLS.Imp}
\title{Plot PLS important features}
\usage{
PlotPLS.Imp(
  mSetObj = NA,
  imgName,
  format = "png",
  dpi = 72,
  width = NA,
  type,
  feat.nm,
  feat.num,
  color.BW = FALSE
)
}
\arguments{
\item{mSetObj}{Input name of the created mSet Object}

\item{imgName}{Input a name for the plot}

\item{format}{Select the image format, "png", or "pdf".}

\item{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.}

\item{width}{Input the width, there are 2 default widths, the first, width = NULL, is 10.5.
The second default is width = 0, where the width is 7.2. Otherwise users can input their own width.}

\item{type}{Indicate the type variables of importance to use, "vip" to use VIp scores, or "type"
for coefficients}

\item{feat.nm}{Feature name}

\item{feat.num}{Feature numbers}

\item{color.BW}{Logical, true to use black and white, or false to not}
}
\description{
Plot PLS important features, BHan: added bgcolor parameter for B/W color
}
\author{
Jeff Xia\email{jeff.xia@mcgill.ca}
McGill University, Canada
License: GNU GPL (>= 2)
}
