features.plot {alineR}R Documentation

Plot feature optimization result

Description

Generates a 4x3 histogram panel plot using the optimization result from optimize.features.

Usage

features.plot(R, 
          first = FALSE, 
          para = c(5, 40, 50, 10, 10, 10, 10, 5, 1, 5, 5, 5, 10),
          skip=FALSE,column=4,row=3)

Arguments

R

Output from optimize.features

first

If TRUE, plot only the first replicate. If FALSE, plot results from all independent replicates.

para

The default feature weights to be plotted in the histogram.

skip

If TRUE, inlcude a 13th histogram for the SkipCost parameter.

column

Number of parameter histogram plots in each row

row

Number of parameter histogram plots in each column

See Also

generate.training,optimize.features

Examples

data<-data.frame(dog=c('dog','perro'),cat=c('cat','gato'),rat=c('rat','rata'))
M1<-generate.training(raw.data=data,search.size=100,table=FALSE)
M2<-optimize.features(set=M1,ranking=c(1,1,1),
                     num=20,step=5,replication=2,list=TRUE)
features.plot(M2)

[Package alineR version 1.1.4 Index]