Skip to content

fixed bug where CompCCAT would fail if exp.m is of class dgeMatrix - #6

Open
nickhir wants to merge 1 commit into
aet21:masterfrom
nickhir:master
Open

fixed bug where CompCCAT would fail if exp.m is of class dgeMatrix#6
nickhir wants to merge 1 commit into
aet21:masterfrom
nickhir:master

Conversation

@nickhir

@nickhir nickhir commented Apr 12, 2023

Copy link
Copy Markdown

As mentioned in issue #5 , CompCCAT throws an error if the class of exp.m is dgeMatrix.

I assume users might run into this issue, if they log transform their data with scater::logNormCounts(sce_tx22) and add the argument pseudo.count = 1.1 to avoid 0 values as is mentioned in the vignette. Its easy to miss that you are using lscChu0.m when estimating the differentiation potency.
My fix simply transform the dgeMatrix to a base R matrix and then everything works as intended.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant