choosePriors: Function to plot an overview of possible priors for the...

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/choosePriors.R

Description

Plots an overview of some possible priors used in the ARTIVAsubnet function for the number of changepoints (resp. incoming edges) according to a given number of maximum changepoints maxCP (resp. incoming Edges maxPred) when parameters (alphaCP, betaCP for the CPs or alphaEdges, betaEdges for the edges) in function ARTIVAsubnet are set to default (alpha=1, beta=0.5). In the ARTIVAsubnet procedure, the number of CPs (respectively the number of incoming edges) is sampled from a truncated Poisson with mean lambda, where lambda is drawn from an Inverse Gamma distribution (alpha, beta), see Lebre et al. (2010) for more details.

Usage

1

Arguments

kmax

Maximum number of changepoints or incomins Edges (parents)

priors

Table describing the priors which can be loaded with data(priors)

Value

NULL, a graph is plotted.

Author(s)

S. Lebre and G. Lelandais.

References

S. Lebre, J. Becq, F. Devaux, M. P. H. Stumpf, G. Lelandais (2010) Statistical inference of the time-varying structure of gene-regulation networks, BMC Systems Biology, 4:130.

See Also

ARTIVAsubnet, ARTIVAnet

Examples

1
2
3
4
# See some prior probabbility density when the maximal number of
# CPs/parents is equal to 5
data(priors)
choosePriors(kmax=5,priors)

Example output

Loading required package: MASS
Loading required package: igraph

Attaching package: 'igraph'

The following objects are masked from 'package:stats':

    decompose, spectrum

The following object is masked from 'package:base':

    union

Loading required package: gplots

Attaching package: 'gplots'

The following object is masked from 'package:stats':

    lowess

ARTIVA documentation built on May 1, 2019, 6:31 p.m.