permutationFunction: Permutation test to evauluate if gene-metabolite associations...

Description Usage Arguments Examples

View source: R/PermutationFunction.R

Description

Permutation test to evauluate if gene-metabolite associations pairs are significantly closer than randomly selected gene-metabolite pairs

Usage

1
2
permutationFunction(pathwayId, data, geneMeasured, metaboliteMeasured,
  permutation, output = c("medians", "pvalue", "histogram"))

Arguments

data,

data.frame() colunm c(gene, metabolite) representing association between them for each row geneMeasured, list of evaluated genes in study (associated and not associated) metaboliteMeasured, list of measured metabolites in study (associated and not associated) permutation, number of permutation to execute output, "medians" median value of permutated sets - "pvalue" - "histogram"

Examples

1
2
3
4
5
permutationFunction("hsa01100", data, gene, metabolite, 1000)
take out chosen gene (and his number of reactions)
from list of possible genes
create new 'data' where associated genes and metabolites
are replace by shuffle genes and metabolites for genes

sandraTL/PADIGM documentation built on May 29, 2019, 1:45 p.m.