extract_row_dgRMatrix {singleCellHaystack}R Documentation

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

Description

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

Usage

extract_row_dgRMatrix(m, i = 1)

Arguments

m

a sparse matrix of class dgRMatrix

i

the index of the row to return

Value

A row (numerical vector) of the sparse matrix


[Package singleCellHaystack version 1.0.2 Index]