B_prior_mat: B_prior_mat

View source: R/OMICS_module_func.R

B_prior_matR Documentation

B_prior_mat

Description

'B_prior_mat' creates the biological prior matrix.

Usage

B_prior_mat(
  omics,
  PK,
  layers_def,
  TFtargs,
  annot,
  lm_METH,
  r_squared_thres,
  p_val_thres,
  TFBS_belief,
  nonGE_belief,
  woPKGE_belief
)

Arguments

omics

named list containing the gene expression (possibly copy number variation and methylation data). Each component of the list is a matrix with samples in rows and features in columns.

PK

data.frame with known interactions.

layers_def

data.frame containing the modality ID, corresponding layer in BN and maximal number of parents from given layer to GE nodes.

TFtargs

matrix containing the direct interactions between TFs (columns) and their targets (rows).

annot

named list containing the associated methylation probes of given gene.

lm_METH

logical asking whether to use linear regression to filter methylation data (default=TRUE).

r_squared_thres

numeric vector to define the R^2 used as a threshold of significance in linear regression if lm_METH=TRUE (default=0.3).

p_val_thres

numeric vector to define the p-value used as a threshold of significance in linear regression if lm_METH=TRUE (default=0.05).

TFBS_belief

numeric vector to define the belief concerning the TF and its target interaction (default=0.75).

nonGE_belief

numeric vector to define the belief concerning interactions of features except GE-GE (default=0.5).

woPKGE_belief

numeric vector to define the belief concerning GE-GE interactions without prior knowledge (default=0.5).

Value

List of 4 elements: prior biological matrix and data preprocessing

Examples

data(list=c("PK", "TFtarg_mat", "annot", "layers_def", "omics"),
package="IntOMICS")
B <- B_prior_mat(omics = omics, PK = PK, layers_def = layers_def, 
     annot = annot, lm_METH = TRUE, r_squared_thres = 0.3,
     p_val_thres = 0.05, TFtargs = TFtarg_mat, TFBS_belief = 0.75, 
     nonGE_belief = 0.5,  woPKGE_belief = 0.5)


anna-pacinkova/intomics_package documentation built on Aug. 13, 2022, 11:38 a.m.