runSIGORA: workflow for sigORA

Description Usage Arguments Examples

View source: R/runSigora.R

Description

workflow for sigORA

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
runSIGORA(
  data,
  target = "GO",
  score_col = "estimate",
  ID_col = "UniprotID",
  threshold = 0.5,
  outdir = "sigORA",
  greater = TRUE,
  myGPSrepo = NULL,
  DEBUG = FALSE
)

Arguments

data

data

target

target database, default: "GO"

score_col

column name containing estimates

ID_col

column name containing IDs

threshold

threshold for estimate

outdir

output directory

greater

flag whether to filter > threshold or < threshold

myGPSrepo

gps repository

DEBUG

default FALSE, if TRUE, skip markdown generation

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
library(prora)
fc_estimates <- prora::exampleContrastData
filtered_dd <- get_UniprotID_from_fasta_header(fc_estimates, idcolumn = "protein_Id")
myGPSrepo <- makeGPS_wrappR(filtered_dd$UniprotID, target = "GO")

#usethis::use_data(myGPSrepo,overwrite = TRUE)
undebug(runSIGORA)
undebug(sigoraWrappR)
res <- runSIGORA(filtered_dd, myGPSrepo = prora::myGPSrepo, DEBUG=TRUE)

## Not run: 
rmarkdown::render(res$rmarkdownPath,
bookdown::html_document2(number_sections = FALSE),
params = res$sigoraData,
clean = TRUE)

## End(Not run)

protViz/prora documentation built on Dec. 12, 2021, 12:32 a.m.