cell typing using negative binomial and f-test pvalue for error detection - #18
cell typing using negative binomial and f-test pvalue for error detection #18lidanwu wants to merge 10 commits into
Conversation
|
@lidanwu Since you are finding it to be slow, why don't you bring over the optimization to |
|
Good suggestion. I’m not familiar with Rcpp implementation. Could you please advise on how to put that in the FastReseg? I didn't want to use import from InSituType since the handling for cells of zero counts are different and InSituType package is not public available.
… On Oct 24, 2022, at 9:58 AM, Dave Ross ***@***.***> wrote:
@lidanwu Since you are finding it to be slow, why don't you bring over the optimization to lldist from InSituType? Or make InSituType a dependency and use the same function that is implemented in Rcpp.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.
|
|
The InSituType package is now public. Will the
ValuerowSums for matrix of densities lls {InSituType} R Documentation sum from negative binomial density function Description Probability density function of the negative binomial distribution (written in C++) Usage s x bg size_dnb Value [Package InSituType version 0.99.2 Index] |
|
I didn't realize InSituType is now public. Yes, importing |
|
Encountered a memory issue when using |
fastLMPure()for linear regression fitting, use corresponding f-test and p-value calculation for error detection instead oflrtest()for alternative and null models.lldist()belong to reference cell clusters in all cell typing steps; but still use original transcript log-likelihood ratio for segmentation error detection.Tested on TAP data, and found the new pipeline has slower processed speed despite fewer cells going through the pipeline.
It seems
lldist()calculation is rate-limiting and requires optimization in speed.