extract_row_lgRMatrix: Returns a row of a sparse matrix of class lgRMatrix. Function...

View source: R/sparse.R

extract_row_lgRMatrixR Documentation

Returns a row of a sparse matrix of class lgRMatrix. Function made by Ben Bolker and Ott Toomet (see https://stackoverflow.com/questions/47997184/)

Description

Returns a row of a sparse matrix of class lgRMatrix. Function made by Ben Bolker and Ott Toomet (see https://stackoverflow.com/questions/47997184/)

Usage

extract_row_lgRMatrix(m, i = 1)

Arguments

m

a sparse matrix of class lgRMatrix

i

the index of the row to return

Value

A row (logical vector) of the sparse matrix


singleCellHaystack documentation built on Dec. 28, 2022, 1:29 a.m.