Coder Social home page Coder Social logo

newwave's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

sqsun rmcminds

newwave's Issues

Equivalent to `zinbwave::getPi`?

Hello,

I saw that zinbwave::getMu becomes NewWave::newMu, so I was wondering if there is an equivalent to zinbwave::getPi. NewWave::newPi does not seems to be exported.

Thanks in advance!

Unfinished execution probably due to memory issue

Dear Federico,
Following up on a similar memory issue as the one already posted by other user, I followed your recommendations on creating a DelayedArray class for my SCE assay (14k genes x 227k cells):

My SCE object

A1Bmtx_sce
class: SingleCellExperiment
dim: 13966 271111
metadata(0):
assays(1): counts
rownames(13966): LINC00115 NOC2L ... MT-ND6 MT-CYB
rowData names(0):
colnames(271111): SRR7666705 SRR7666706 ... TTTGTCAAGCTGAACG.1
TTTGTCACAATCGGTT.1
colData names(3): cells batch Biological_Condition

Transforming the "batch" field from colData to a factor

colData(A1Bmtx_sce)$batch <- as.factor(colData(A1Bmtx_sce)$batch)

Converting the assay (counts) to a DelayedArray

library(DelayedArray)
assay(A1Bmtx_sce) = DelayedArray(assay(A1Bmtx_sce))
class(assay(A1Bmtx_sce))
[1] "DelayedMatrix"
attr(,"package")
[1] "DelayedArray"

Running newWave

A1Bzinb <- newWave(A1Bmtx_sce, K=9, X="~batch", children=24, n_gene_par=1500, n_cell_par=30000, verbose=FALSE, commondispersion=FALSE)

I submitted this code as job script to a large-memory node (768 Gb) from my cluster, and it stopped after ~30 min with the SGE exit status #37: "failed 37 : qmaster enforced h_rt, h_cpu, or h_vmem limit", reaching a maxvmem of 487 Gb, while I've asked for 720Gb.
I've also got info from my IT regarding intermediate files ( 'sharedObjectCounter', 'SO_X64_1', 'SO_X64_2', ... 'SO_X64_24') left in the /dev/shm due to the unfinished status of my newWave run.

I wonder if you would have any tip to circumvent this issue, and please let me know if you need more info.

Many thanks in advance.
Elton

Memory consumption

Hi there,

Thank you for releasing the code for your algorithm. I have a question regarding the memory-efficiency.

My cell-gene matrix is approximately 600,000 cells x 6,000 genes. Assuming 32-bit floats, this should be around 15gb.
Despite this, I am running out of memory despite having 128gb RAM. How can I run this algorithm memory-efficient?
The command i'm using so far is:

res <- newWave(sce,X = "~site.Site", K=10, verbose = FALSE, children=6, n_gene_disp = 100, n_gene_par = 100, n_cell_par = 100)

Many thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.