View source: R/lilikoi.featuresSelection.r
lilikoi.featuresSelection | R Documentation |
This function allows you to reduce the pathway diemsion using xxxx
lilikoi.featuresSelection(PDSmatrix, threshold = 0.5, method = "info")
PDSmatrix |
from PDSfun function |
threshold |
to select the top pathways |
method |
information gain ("info") or gain ratio ("gain") |
A list of top metabolites or pathways.
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.50,method="gain")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.