Comments (6)
Hello, I am also interested in this. I am dealing with very large datasets. While it is possible to create a dense matrix I am curious about the limitations for cellphonedb to analyze even with subsampling. Is there experience with very large datasets? e.g. more than 100k cell? While I am able to export all of my datasets in dense matrix it is time consuming and also failing with any datasets larger than ~150k cells.
from cellphonedb.
Also curious about this. I was going to try to save sparse matrix as.data.frame(as.matrix(sparsematrix))
into a .txt file. I imagine this will take a long time. Anyone else have any ideas?
from cellphonedb.
I'm also listening in on this. It doesn't seem reasonable to write to .txt from a sparse matrix, in my case with ~3.4 billion fields...
from cellphonedb.
ideally both sparse matrix and anndata input rather than needing to store as .txt
from cellphonedb.
I had the same issue with my sparse matrix that I extracted from a seurat object. I can reccomend looking at the write_dgCMatrix_csv function from the scrattch.io package, which writes the dgCMatrix to a CSV in chunks, thus saving time and memory.
from cellphonedb.
+1 from me. It would be great to if you allow direct transfer of dataframe / matrices !
I tried to change the code myself but the FLASK API is a bit over my head
-- update--
I was able to run without the command line interface and it spared me the time of writing/reading of files. Still had a memory problem because my initial data was from R (Seurat) and I couldn't find a way to transfer it to python without converting it to a full matrix
from cellphonedb.
Related Issues (20)
- Gene format missmatch. HOT 1
- Backwards Interactions HOT 1
- Should we sub-sample cells for cellphoneDB?
- threshold for setting means in mean.txt and significant_means.txt
- dot_plot cant show labels HOT 1
- read count.h5ad error HOT 2
- Error processing Meta data HOT 1
- Dot plot problem: Error in all_pval[match(selected_rows, intr_pairs), selected_columns] HOT 3
- error : ValueError: Columns must be same length as key HOT 6
- mismatch
- Running real time pathway analysis error
- How to order the heatmap plot?
- Can not got a file of "pvalues.txt"
- cell number and molecular interaction
- error in analysis using self database
- pvalue is 1 or 0 HOT 1
- Error when using plot function HOT 5
- Input error cellphonedb statistical analysis HOT 2
- difficulty in generating custom database with protein complex
- Unexpected error after [Clustering Statistical Analysis]
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 cellphonedb.