Comments (3)
You can look at the number of columns in the rotation matrix.
ncol([email protected])
Based on the JackStraw error message, it looks like you have 4 PCs.
from seurat.
Thanks!
suggestion: when people run your tutorial with a different input matrix, it will fail at this step, because there are not enough PCs. The error message though doesn't make this clear at all. You could catch this error and print something or take the minimum of the current PC count and the supplied number of PCs instead of taking the supplied number of PCs at face value.
from seurat.
Yep, definitely a good idea. We will add this in a future update (or feel free to submit a pull request).
Also, it looks like you're still using the old tutorial. Check out the website for a newer version (http://satijalab.org/seurat/pbmc-tutorial.html)
from seurat.
Related Issues (20)
- Load Nanostring meta.data doesn't transfer well HOT 1
- Error when running scVIIntegration: Error in object[][features, ] : incorrect number of dimensions
- Best Practice for the QC analysis HOT 2
- Issue with memory handling in Seurat v5
- FindTransferAnchors and convert gene name
- Merge clusters HOT 2
- Bug in DoHeatmap HOT 1
- Plot AddModuleScore using FeaturePlot HOT 7
- Why are the points in the plots drawn by the SpatialFeaturePlot() function very small? HOT 3
- Problems with RunPCA when npcs > 25 HOT 2
- "The following N features requested have not been scaled" warning after running SCTransform
- NormalizeData() FindVariableFeatures() ScaleData() RunPCA() extremely slow with large dataset (1M+ cell 100+ samples). HOT 1
- SCTransform fails with error: no applicable method for 'as.sparse' applied to an object of class "c('double', 'numeric')"
- Combining counts of 2 genes into 1 gene - spatial HOT 1
- SCTransform in a merged and subsetted object how to set variable features
- Error in `.rowNamesDF<-`(x, value = value) : invalid 'row.names' length HOT 4
- Integrating multiple objects with IntegrateEmbeddings() erases all previous reductions
- PseudobulkExpressoin vs AggregateExpression HOT 2
- How to deal with technical replicates of scRNAseq data? HOT 1
- Error in running IntegrateData()
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.