I need to save Raw counts into .csv file from my Seurat object, I have tried the following code but it is not working for me
expr_raw <- GetAssayData(object = alldata, assay.type = "RNA", slot = "counts") expr <- as(Class = 'matrix', object = expr_raw)
It gives the following error
Error in asMethod(object) : Cholmod error 'problem too large' at file ../Core/cholmod_dense.c, line 105
Kindly help me to save the raw counts from my Seurat object into a CSV file.
thanks a lot and have a great day ahead,