Learn R Programming

bnClustOmics (version 1.1.1)

blInit: Initializing blacklist

Description

This function can be used to initialize a blacklist matrix for bnclustOmics clustering

Usage

blInit(
  bnnames,
  bldiag = TRUE,
  intra = NULL,
  interXX = list(from = NULL, to = NULL),
  interXY = list(from = NULL, to = NULL)
)

Value

returns a binary matrix where 1 defines prohibited edges and 0 defines allowed edges

Arguments

bnnames

object of class bnInfo; see bnInfo

bldiag

logical, defines if diagonal should be blacklisted, TRUE by default

intra

(optional) a vector of characters defining omic types for which intra-type edges will be blacklisted

interXX

(optional) a list containing two vectors of characters defining omic types between which same gene (X.type.from -> X.type.to) edges will be blacklisted

interXY

(optional) a list containing two vectors of characters defining omic types between which different gene edges (X.type.from -> Y.type.to) will be blacklisted

Author

Polina Suter