
Read a SingleCellConnectivity back from bytes
from_bytes.RdInverse of to_bytes(). Bytes from a different structure, an older byte
layout or another float width error rather than decode into garbage.
Arguments
- bytes
Raw vector written by
to_bytes().
Examples
conn <- as_sc_connectivity(igraph::make_graph("Zachary"))
from_bytes(to_bytes(conn))
#> SingleCellConnectivity: 34 cells, 78 edges
#> Method: NA