Description Usage Arguments Details Examples
Permutation test to evauluate if gene-metabolite associations are significantly closer than randomly selected gene-metabolite pairs.
1 2 | permutationTest(pathwayId, association, gene, metabolite, permutation,
output = c("medians", "pvalue", "histogram"))
|
pathwayId |
KEGG Id of selected pathway. |
association |
Dataframe with 2 columns, where each line reprensents an association. First column are genes and the sencond column are metabolites. Only use KEGG Ids. |
gene |
Dataframe of 1 column, representing all genes reported. Only use KEGG Ids. |
metabolite |
Dataframe of 1 column, representing all the measured metabolites. Only use KEGG Ids. |
permutation |
Number desired permutations |
output |
'medians' of all permutations, 'pvalue' of the permutation test, 'histogram' representing the distribution of all permutations' median |
If a gene or a metabolite is present on multiple edges or nodes, then the shortest distance is selected.
1 2 | permutationFunction("hsa01100", shinAndAlDF,
completeGeneDF,completeMetaboDF, 1000, "histogram")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.