Entering edit mode
20 months ago
rbronste
▴
420
Looking to make a sparse matrix from a RangedSummarizedExperiment object with with regions as rows and cells as columns. The corresponding cell and region names must be provided as list using the parameters cell_names
and region_names
, respectively.
Not quite sure how to do this, any help much appreciated! Thanks!
So the column names seem to come out as the individual cells (this is converted from an ArchR object) however Im wondering how to change the rownames to the ranges from the rangedSE. Want to use this matrix as an input to pycisTopic which requires one of the two following:
Thanks again for your help!
If you have the ranges then just paste them to a string, something like "chr:start-end" and put that as rownames.