Generate a SingleCellExperiment with a sparse matrix and a one-row dataframe containing metadata for the sample.

generate_sce(mat, metadata)

Arguments

mat

a sparse feature-barcode matrix

metadata

a single row dataframe with sample metadata

Value

sce a SingleCellExperiment object annotated with sample metadata