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:
> assay(test)
109254 x 526 sparse Matrix of class "dgCMatrix"
[[ suppressing 78 column names 'Klf4_KO#TAATTCCTCACAAGCT-1', 'Klf4_KO#GGGTCTGGTCAACTGT-1', 'Klf4_KO#CCCGTTATCTATTTCG-1' ... ]]
[[ suppressing 78 column names 'Klf4_KO#TAATTCCTCACAAGCT-1', 'Klf4_KO#GGGTCTGGTCAACTGT-1', 'Klf4_KO#CCCGTTATCTATTTCG-1' ... ]]
[1,] 2 . . . . . . . . . 2 2 . . 2 2 . 2 . . . . . . . . . . . . . . . . . . . . . 2 . . . . . . . . . . . . . . . 2 . . . . . . . . . . . . . . . . . . . . . . ......
[2,] . . . . 2 . 2 . . . 2 . . . . . . 1 . . . . . . . . . . . . . . 2 . . . . . . . 1 . . . . . . . . . . 2 . . . . . 4 . . 2 2 . . . 4 . . 2 . . 2 . 2 . . . . ......
[3,] 4 4 4 2 4 4 2 4 4 . . 4 2 . 4 4 . 4 2 1 4 . 2 . 4 2 4 4 . 4 . . 4 4 4 4 2 . 4 4 . 3 2 4 4 . 4 4 . . 1 4 4 2 . . 2 2 4 2 . 4 . . . . 4 . 4 . 4 4 4 . 2 3 . . ......
[4,] . . . . . . . 2 . . . . . . . . . . . . . . . . . . . . 2 . . . . . . . . . . . . . . . . . . . . . 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . ......
[5,] . . . . . . . 4 . . . . . . . . . . . . . . . . . . . . . . . . . 1 . . . . . 2 . . 2 . . . . . . . 1 . 4 2 . . . . . . . . . . 2 . . . . . . . . . . . . . ......
[6,] . 2 4 . . . 3 . . . . . . . . . . 4 4 4 . . . 3 . 2 . . . . 2 . 2 . 2 . . . . . . . . . 2 . . . . . 2 2 4 4 . . . 3 3 . . 2 . 2 . 1 4 . 2 . . . 1 1 . . 2 . ......
Thanks again for your help!