Comments (6)
One of the requirements of Monocle 3 is that the dimensional reduction names are all upper-case, while Seurat defaults to lower-case names (eg. "UMAP" vs "umap"). The converter does not yet take care of this, but we are working on it. In the meantime, you can either pass reduction.name = "UMAP"
to RunUMAP
(as seen in the vignette) or rename a previously calculated UMAP result in Seurat before converting to Monocle 3
seurat.object[["UMAP"]] <- seurat.object[["umap"]]
# To save on memory, you can delete the original UMAP, but this is not necessary
seurat.object[["umap"]] <- NULL
Please note, the same issue applies for PCA (Seurat stores as "pca" instead of "PCA") and the same fix for UMAP applies here as well.
from seurat-wrappers.
Just wanted to say that I too am having this issue.
cds <- as.cell_data_set(ciona.integrated)
Warning message:
“Monocle 3 trajectories require cluster partitions, which Seurat does not calculate. Please run 'cluster_cells' on your cell_data_set object”
cds <- cluster_cells(cds)
Error: No dimensionality reduction for UMAP calculated. Please run reduce_dimension with reduction_method = UMAP before running cluster_cells
cds <- reduce_dimension(cds, reduction_method = "UMAP")
No preprocess_method specified, using preprocess_method = 'PCA'
cds <- preprocess_cds(cds, method = "PCA")
Error in names(sf) <- colnames(SingleCellExperiment::counts(cds)): attempt to set an attribute on NULL
Any help would be appreciated!
from seurat-wrappers.
Wondering if you guys ran UMAP on Seurat object at all?
integrated <- RunUMAP(integrated, dims = 1:<num_of_PCs>, reduction.name = "UMAP")
from seurat-wrappers.
@ashuchawla Yes! RunUMAP was already run during Seurat Integration pipeline. I already have the UMAP plot. And I want to map Monocle's pseudotime onto same UMAP coordinates.. which is where the error is.
from seurat-wrappers.
This issue should be resolved in the latest version of SeuratWrappers. Thanks for reporting!
from seurat-wrappers.
Thanks a lot @mojaveazure! I think this will work. I am trying now!
from seurat-wrappers.
Related Issues (20)
- Not able to convert loom to seurat HOT 5
- FastMNNIntegration not using "sketch" assay but "RNA" assay
- Learn_graph error Error: colnames(cds)!=names(cds@clusters[[reduction_method]]$partitions)
- Velocyto- Seurat - invalid class “LogMap” object: Duplicate rownames not allowed HOT 4
- Seurat-wrappers intsallation failure HOT 4
- Bug report(?) of adding support to v5
- negative extents to matrix
- Installing in a Conda environment
- past versions of seurat-wrappers that fits seurat v4 HOT 4
- Warning in install.packages :package ‘SeuratWrappers’ is not available for this version of R HOT 1
- Temporary Files
- Alra not using Scaled data
- Error converting Seurat object to cell_data_set, bug fix no longer exists HOT 1
- IntegrateLayers using FastMNN gives error: 'batch' must be specified if '...' has only one object HOT 2
- Error in .subscript.2ary(x, i, j, drop = TRUE) : subscript out of bounds
- The batch argument for FastMNNIntegration via IntegrateLayers is non-functional
- Warning: Layer counts isn't present in the assay object; returning NULL
- Error: No feature overlap between existing object and new layer data HOT 1
- Unable to open HDF5 file.
- Allow specification of Python virtual environment
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from seurat-wrappers.