seurat-wrappers
seurat-wrappers copied to clipboard
Monocle 3 as.cell_data_set function for SCT assay
I tried to Convert seurat object (SCT assay) to Monocle3 cell_data_set object, but it doesn't work
`cds <- as.cell_data_set(combined,assay ='SCT' )
Error in isVirtualExt(exti) : trying to get slot "virtual" from an object of a basic class ("NULL") with no slots `
I have recently attempted a similar operation. Here I get the following error:
cds <- as.cell_data_set(x = sc.data) Error in
[[<-(
tmp, key, value = new("DFrame", rownames = NULL, nrows = 0L, : 0 elements in value to replace 17603 elements
when I query sc.data, the console returns:
An object of class Seurat 47808 features across 17603 samples within 3 assays Active assay: SCT (20335 features, 0 variable features) 2 other assays present: RNA, integrated 3 dimensional reductions calculated: pca, umap, tsne
I am not sure how to solve this. Thanks.