rowData: function not defined
bhayete-empress opened this issue · 1 comments
bhayete-empress commented
My Seurat object casts to cell_data_sets seem to lose a part of the namespace; in particular, rowData doesn't seem to be exposed, as well as row names.
Browse[1]> cds2 <- SeuratWrappers::as.cell_data_set(cur.tx.data, assay='RNA')
Warning: Monocle 3 trajectories require cluster partitions, which Seurat does not calculate. Please run 'cluster_cells' on your cell_data_set object
Browse[1]> foo = rowData(cds2)
Error in rowData(cds2) : could not find function "rowData"
Based on some posts here, I thought the problem was that I wasn't specifying the RNA assay, but now I am, and it's not helping. Thoughts?
bhayete-empress commented
More details: apparently, this problem only exists in R6 when I @import monocle3. If I load it using library(), everything works fine.