propagation: —————— Approximate the infinite sum

Description Usage Arguments Details Author(s)

View source: R/propagation.R

Description

In the paper and notes this is matrix is called M#'

Usage

1
2
propagation(Asparse, n.eigs = 20, from = NULL, to = NULL,
  sum = "none")

Arguments

n.eigs

The number of eigenvectors used for the approximation. If this is smaller than 2, the pseudo inverse will be computed

from

Source nodes for which we need the transition probabilties.

to

Target nodes for which we need the transition probabilties.#'

sum

Can be "none", "from", "to" or "both" and will sum up the propagation matrix over one or the other or both lists.

Details

Using from and to nodes avoids to compute the full propagation matrix which is too large to fit in memory. When from and to are NULL the full matrix will be computed. For sum, "none" returns a "from" by "to" matrix; "from" returns a vector of length nrow(Asparse); "to" returns a vector of length nrow(Asparse) and "both" returns a nrow(Asparse) by 2 matrix with the from and to vectors.

Author(s)

Matthias Heinig <matthias.heinig@helmholtz-muenchen.de>

—————————————————————————–


matthiasheinig/QTLnetwork documentation built on June 29, 2021, 10:11 p.m.