Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rowData: function not defined #167

Open
bhayete-empress opened this issue Sep 19, 2023 · 1 comment
Open

rowData: function not defined #167

bhayete-empress opened this issue Sep 19, 2023 · 1 comment

Comments

@bhayete-empress
Copy link

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
Copy link
Author

More details: apparently, this problem only exists in R6 when I @import monocle3. If I load it using library(), everything works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant