Learn R Programming

RFmarkerDetector (version 1.0.1)

plotVarFreq: Variable Frequency Plot

Description

This function plots the probability of selection of each variable (metabolite) as the proportion of times that is selected by AUCRF method

Usage

plotVarFreq(varFrequency, thd = 0.4, color = "blue", hcol = "red")

Arguments

varFrequency
a numeric vector with the probabilities of selection of each input variable
thd
a numeric value that indicates the lower limit of probability of variables to be represented. The default value is 0.4 (40%)
color
the color of the graph
hcol
the color of the horizontal line, indicating the lower limit of the probability of selection of variables

Examples

Run this code
## data(cachexiaData)
## rf.aucv1 <- aucMCV(cachexiaData, ref_level = 'control')
## plotVarFreq(varFrequency = rf.aucv1$Psel,  thd=0.55)

Run the code above in your browser using DataLab