ggFusedHist: Fused histograms of ensemble and permutation results

Description Usage Arguments See Also Examples

View source: R/plots.R

Description

The ggFusedHist function generates a histogram of the permutation results as generated by cfBuild and cfPermute.

Usage

1
ggFusedHist(ensObj, permObj)

Arguments

ensObj

The classification ensemble (in the form of an R list) as generated by cfBuild

permObj

The permutation object as generated by cfPermute

See Also

cfBuild, cfPermute, ggEnsHist, ggPermHist

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
## Not run: 
data(iris)

irisClass <- iris[,5]
irisData  <- iris[,-5]
               
# ** Use parallel = FALSE for execution in sequence **

# Ensemble construction
ensObj  <- cfBuild(inputData = irisData, inputClass = irisClass, bootNum = 5, 
                   ensNum = 2, parallel = FALSE)

# Permutation test
permObj <- cfPermute(irisData, irisClass, bootNum = 5, ensNum = 2, permNum = 2, 
                     parallel = FALSE)

ggFusedHist(ensObj, permObj)

## End(Not run)

classyfire documentation built on May 29, 2017, 11:05 p.m.