Description Usage Arguments Value Author(s) Examples
The current function transforms a galgo.Obj
to a data.frame
1 | toDataFrame(output)
|
output |
An object of class |
The current function restructurates a galgo.Obj
to a more easy to understand an use data.frame
. The output data.frame
has m x n dimensions, were the rownames (m) are the solutions obtained by the galgo
algorithm. The columns has the following structure:
Genes: The features included in each solution in form of a list
k: The number of partitions found in that solution
SC.Fit: The average silhouette coefficient of the partitions found
Surv.Fit: The survival fitness value
Rank: The solution rank
CrowD: The solution crowding distance related to the rest of the solutions
Martin E Guerrero-Gimenez, mguerrero@mendoza-conicet.gob.ar
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
#Load data
rna_luad <- use_rna_luad()
TCGA_expr <- rna_luad$TCGA$expression_matrix
TCGA_clinic <- rna_luad$TCGA$pheno_data
OS <- survival::Surv(time=TCGA_clinic$time,event=TCGA_clinic$status)
#Run galgo
output <- galgoR::galgo(generations = 10 ,population = 30, prob_matrix = TCGA_expr, OS = OS)
outputDF <- toDataFrame(output)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.