Entering edit mode
23 months ago
otieno43
▴
30
I am trying to obtain a csv counts matrix file from the SeuratObject but I run into an error.
k<-as.data.frame(a$RNA) ## a it the SeuratObject Error in as.data.frame.default(a$RNA) : cannot coerce class ‘structure("Assay", package = "SeuratObject")’ to a data.frame
k<-as.matrix.data.frame(a$RNA) ## a it the SeuratObject Error in X[[j]] : this S4 class is not subsettable
Any help please
Thank you. It helped.