retrieve.job: Retrieve results using job id

Description Usage Arguments Value Examples

View source: R/retrieve.job.R

Description

Retrieve results using job id

Usage

1
2
retrieve.job(job.id, n.top = NULL, fetch.files = F,
  output.dir = NULL)

Arguments

job.id

Job id

n.top

Number of top proteins to retrieve. If NULL top functionally enriched proteins are provided (upto 500 proteins)

fetch.files

Flag to fetch result files from server and save them locally in output.dir (If NULL files for top functionally enriched proteins are provided, otherwise files for top-ranking 1% are provided)

output.dir

Directory to save the ranking, function, subnetwork and drug info files fetched from the server. If NULL, a folder with the same as name as the job.id is created in the current working directory

Value

result List containing scores of top-ranking proteins, functions enriched among top-ranking proteins, drugs targeting top-ranking proteins, top-ranking subnetwork cutoff

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
result = retrieve.job(job.id)
getSlots(class(result))
#Scores
head(gScores(result))
#Functions of top ranking genes
head(gFunctions(result))
#Functions of seeds
head(gFunctions2(result))
#Drugs
head(gDrugs(result))

emreg00/guildifyR documentation built on July 19, 2019, 3:44 p.m.