LoomGraphs-class: LoomGraphs class

Description Usage Arguments Value Author(s) See Also Examples

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

1
2
3
4
5
6
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

1
2
3
4
5
## 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

LoomExperiment documentation built on Nov. 8, 2020, 5:41 p.m.