Skip to contents

Convert a LongTable assay into a BumpyMatrix object

Usage

.assayToBumpyMatrix(LT, assay, rows, cols, sparse = TRUE)

Arguments

LT

LongTable with assay to convert into BumpyMatrix

assay

character(1) A valid assay name in LT, as returned by assayNames(LT).

rows

character() The rownames associated with the assay rowKey

cols

character() The names associated with the assay colKey

sparse

logical(1) Should the BumpyMatrix be sparse (i.e., is the assay sparse).

Value

BumpyMatrix containing the data from assay.