Comments (3)
Solution probably here, but complicated...
https://rpubs.com/will_townes/sparse-apply
referenced here: https://stackoverflow.com/questions/29901199/apply-for-sparsematrix-in-r
Instead, I use:
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("sparseMatrixStats")
sparseMatrixStats::rowQuantiles()
irequire(sparseMatrixStats)
expr.q90 = iround(sparseMatrixStats::rowQuantiles(x, probs = quantileX) )
from seurat.cbe.issues.
The calculation seem to be solved, but Calcq90Expression()
>>> qhistogram()
>>> qqSave()
just cant save the output.
### Keeps hanging
> qhistogram(log2.gene.expr.of.the.90th.quantile)
[1] "/groups/knoblich/users/abel/cbehome/Dropbox/Abel.IMBA/AnalysisD/Abel/SEO2/m1500c21.dSample.Organoids_2000/Highest.Expressed.Genes.umap/log2.gene.expr.of.the.90th.quantile.hist.pdf"
# output just before qqSave
### Saving works in
xxx = qplot(1:11); ggsave(plot = xxx, filename = "xxx.png")
xxx = qplot(1:11); cowplot::save_plot(plot = xxx, filename = "xxxCOW.png") # used
from seurat.cbe.issues.
Problem is qHist and vector names: "Vector too many names. Messed up auto-coloring + label.
from seurat.cbe.issues.
Related Issues (10)
- ToDo
- installing monocle3 HOT 4
- Wiki
- Resources
- IntegrateData() fails: Error in validityMethod(as(object, superClass)) HOT 5
- I cannot see history in TMUX / R console because I cannot scroll up HOT 2
- Token based sourcing from private repo does not work on CBE
- Error: Failed to retrieve the result of MulticoreFuture (future_lapply-21) in FindIntegrationAnchors HOT 6
- Error in differential gene expression – replacement has 0 rows HOT 1
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.cbe.issues.