lilikoi.featuresSelection: A featuresSelection Function

Description Usage Arguments Value Examples

View source: R/lilikoi.featuresSelection.r

Description

This function allows you to reduce the pathway diemsion using xxxx

Usage

1
lilikoi.featuresSelection(PDSmatrix, threshold = 0.5, method = "info")

Arguments

PDSmatrix

from PDSfun function

threshold

to select the top pathways

method

information gain ("info") or gain ratio ("gain")

Value

A list of top metabolites or pathways.

Examples

1
2
3
4
5
6
7
dt <- lilikoi.Loaddata(file=system.file("extdata",
  "plasma_breast_cancer.csv", package = "lilikoi"))
Metadata <- dt$Metadata
dataSet <- dt$dataSet
# Metabolite_pathway_table=lilikoi.MetaTOpathway('name')
# PDSmatrix= lilikoi.PDSfun(Metabolite_pathway_table)
# selected_Pathways_Weka= lilikoi.featuresSelection(PDSmatrix,threshold= 0.54,method="gain")

lilikoi documentation built on Jan. 15, 2021, 3:32 p.m.