getHighestFitnessSolutions: Get Highest Fitness Solutions

View source: R/GAAnalysis.R

getHighestFitnessSolutionsR Documentation

Get Highest Fitness Solutions

Description

getHighestFitnessSolutions extract best solution from a ChIPanalyser GA/evolve Run.

Usage

getHighestFitnessSolutions(population,child=2,method="geometric")

Arguments

population

Population list as output by the evolve function.

child

numeric describing the number of solution to be extracted from Population list.

method

character string describing which scoring method should be used and selected from "geometric","ks","MSE","pearson","spearman","kendall", "recall","precesion","fscore","MCC","Accuracy" or "AUC".

Details

This function only serves as a way of extracting data from the poppulation list. Ultimately - it is just a wrapper for some indexing.

Value

Return the index of the top "child" solutions.

Author(s)

Patrick C.N. Martin <pcnmartin@gmail.com>

Examples


library(ChIPanalyser)
data(ChIPanalyserData)
# See GA vignette for usage 


patrickCNMartin/ChIPanalyser documentation built on Nov. 24, 2022, 12:02 a.m.