Skip to contents

Inverse of to_bytes(). Bytes from a different structure, an older byte layout or another float width error rather than decode into garbage.

Usage

from_bytes(bytes)

Arguments

bytes

Raw vector written by to_bytes().

Value

A SingleCellConnectivity.

Examples

conn <- as_sc_connectivity(igraph::make_graph("Zachary"))
from_bytes(to_bytes(conn))
#> SingleCellConnectivity: 34 cells, 78 edges
#>   Method: NA