This function can be used to initialize a penalization matrix for bnclustOmics clustering
penInit(
bnnames,
pfbase = 1,
intpf = pfbase,
intlist = NULL,
intsame = 1,
usescore = FALSE
)
returns a square matrix containing edge specific penalization factors
object of class bnInfo; see bnInfo
a numeric value more or equal to 1, base penalization factor; 1 by default (no penalization)
(optional) a numeric value more or equal to 1, this value will be used to penalize interactions from 'intlist'
(optional) a matrix or data frame containing a list of interactions and optionally their scores; 2 columns are necessary 'gene1' and 'gene2'
penalization factor for edges connecting the same genes
(logical) when TRUE, interactions score from column 'score' of the parameter 'intlist' will be used to define penalization factor
Polina Suter