blInit: Initializing blacklist

View source: R/penalization.R

blInitR Documentation

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)
)

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

Value

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

Author(s)

Polina Suter


bnClustOmics documentation built on Aug. 5, 2022, 5:11 p.m.