Read edgelists from .pxl files
ReadMPX_arrow_edgelist.Rd
This function uses arrow to read edgelists from one or several
.pxl files. The edgelists are stored in parquet files in
the outdir
directory which can be modified on disk.
Arguments
- pxl_file
Path to a .pxl file
- edge_list_file
Path to the output edgelist.parquet file
- verbose
Print messages
- ...
Parameters passed to other methods
Examples
library(pixelatorR)
# Load example data
pxl_file <- system.file("extdata/five_cells",
"five_cells.pxl",
package = "pixelatorR")
edgelist_arrow <- ReadMPX_arrow_edgelist(pxl_file)
#> ℹ Extracting edgelist.parquet file to /var/folders/gw/bdcqhnvs0m9gs_mq8n51jtbc0000gn/T/RtmpJCnvFY/edgelist.parquet
#> ✔ Returning FileSystemDataset
edgelist_arrow
#> FileSystemDataset with 1 Parquet file
#> upia: string
#> upib: string
#> marker: dictionary<values=string, indices=int32>
#> count: int8
#> component: dictionary<values=string, indices=int32>