LoomGraphs {LoomExperiment} | R Documentation

## LoomGraphs class

### Description

The LoomGraphs class extends the `SimpleList` class. It is meant to store multiple `LoomGraph` objects and was created to be used in conjunction with the `LoomExperiment` class. Its purpose is to store multiple `col_graph` or `row_graph` as specified by the `loom` file format. Only `LoomGraph` obects may be stored in a LoomGraphs object.

### Usage

    LoomGraphs(...)

    ## S4 method for signature 'LoomGraphs'
    rbind(..., deparse.level=1)
    ## S4 method for signature 'LoomGraphs'
    cbind(..., deparse.level=1)

### Arguments

`...` | `LoomGraph` objects.
`deparse.level` | See '?base::cbind' for a description of this argument

### Value

A LoomGraphs object is returned from the constructor.

### Author(s)

Daniel Van Twisk

### See Also

`LoomExperiment`, `LoomGraph`, `SimpleList`

### Examples

    ## Construction
    lg1 <- LoomGraph(c(1, 2, 3), c(3, 2, 1), weight=c(4, 7, 8))
    lg2 <- LoomGraph(c(3, 3, 1), c(3, 1, 2))
    lgs <- LoomGraphs(lg1, lg2)
    lgs

[Package LoomExperiment version 1.8.0 Index]