moda_db: moda function wrapper

Description Usage Arguments Details

View source: R/function_call_wrappers.R

Description

moda function wrapper

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
moda_db(
  input_name,
  cutmethod = "Density",
  to_db = TRUE,
  folder = NULL,
  group_of_interest,
  specificTheta = 0.1,
  conservedTheta = 0.1,
  module_name,
  con
)

Arguments

input_name

Name of the input object in the database

cutmethod

cutting the dendrogram based on maximal average Density or Modularity

to_db

Save result in database, default is TRUE

folder

If not saved in database, folder where to save the module as .rds

group_of_interest

Numerical value denoting which group contains the condition of interest (1 or 2)

specificTheta

the threshold to define min(s)+specificTheta, less than which is considered as condition specific module. s is the sums of rows in Jaccard index matrix. See supplementary file.

conservedTheta

The threshold to define max(s)-conservedTheta, greater than which is considered as condition conserved module. s is the sums of rows in Jaccard index matrix. See supplementary file.

module_name

Unique name for the module object when stored in database

con

Database connection obtained with connect_to_db function

Details

Retrieves a MODifieR input object from database by input_name and runs moda method.


ddeweerd/MODifieRDB documentation built on Feb. 5, 2021, 1:50 a.m.