Skip to contents

One-time migration tool: read a matrix from any supported format and write it as a .spz v2 file.

Usage

st_convert(
  input,
  output,
  precision = "auto",
  include_transpose = FALSE,
  row_sort = TRUE,
  verbose = 1L
)

Arguments

input

Path to input file or an in-memory matrix.

output

Path for the output .spz file.

precision

Value precision: "auto", "fp32", "fp16", "quant8", "fp64".

include_transpose

Logical; store CSC(A^T).

row_sort

Logical; sort rows by nnz. Default TRUE.

verbose

Integer verbosity level (0=silent, 1=summary, 2=detailed).

Value

Invisibly returns a list with conversion statistics.

See also