R: Get Network from Object

getNetwork {propr} | R Documentation

## Get Network from Object

### Description

This function provides a unified wrapper to build networks from `propr` and `propd` objects.

### Usage

    getNetwork(object, cutoff = NA, propr.object, propr.cutoff = NA,
      thetad.object, thetad.cutoff = NA, thetae.object, thetae.cutoff = NA,
      col1, col2, include = NA, or = TRUE, d3 = FALSE)

### Arguments

`object` | Any `propr` or `propd` object.
`cutoff` | A cutoff argument for `object`, passed to `getResults`.
`propr.object, thetad.object, thetae.object` | A `propr` object or an appropriate `propd` object.
`propr.cutoff, thetad.cutoff, thetae.cutoff` | A cutoff argument passed to `getResults`.
`col1` | A character vector. Specifies which nodes to color `red` or `blue`, respectively.
`col2` | A character vector. Specifies which nodes to color `red` or `blue`, respectively.
`include` | This argument indicates which features by name should belong to a pair for that pair to get included in the results. Subset performed by `Partner %in% subset | Pair %in% subset`.
`or` | A boolean. If `FALSE`, `include` subsets by `Partner %in% subset & Pair %in% subset`.
`d3` | A boolean. Use `rgl` to plot 3D network.

### Value

A network object.

[Package propr version 4.1.1 Index]