Learn R Programming

popgraph (version 1.0)

population_graph: Default constructor for a PopulationGraph object

Description

This function is the default constructor for PopulationGraph objects. Mechanistically, a PopulationGraph is a class that has some meta data and an igraph object within it.

Usage

population_graph(x, groups, alpha = 0.05, tol = 1e-04,
    nboot = 0)

Arguments

x
An object of type matrix that holds the data to be analyzed.
groups
A factor indicating population membership of each row in x
alpha
The significance level to test edge retention (default = 0.05).
tol
A measure of tolerance for the retention of multivariate data columns (default sdev=1e-4)
nboot
The number of bootstraps to run to get confidence on the edges.

Value

  • An object of type popgraph.