distanceGeneToAllMetabolite: function that output a barplot graph related to one specific...

Description Usage Arguments Examples

Description

for param data: gene = KEGGid of gene hsa:... metabolites : KEGGid of metabolites C.... for param pathwayId : KEGG id of pathways without ':' ex: hsa01100 for param gene : is a gene in data ex: hsa:8801

Usage

1
2
distanceGeneToAllMetabolite(pathwayId, associatedGeneMetaDF,
  completeMetaboliteDF, gene)

Arguments

pathwayId,

data(gene, metabolites), gene

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
barplotFunction(hsa01100, associatedGeneMetaDF,
 completeMetaboliteDF, gene)
Serious need to refactor this function in multiple ones
It is way to long
get all shortest paths from data entry
adjust gene parameter
add metabolite row
get a subset of shortestsPathsDF contaning only geneOf interest, gene
and metaboltie column
get frequency of every value until the maxVal found + Inf val
initiation of values
creation of vector to fill bar colors automatically
initiation of values
creation of vector to fill bar colors automatically

sandraTL/PathQuantPadigm documentation built on May 29, 2019, 1:46 p.m.