PLN-team/PLNmodels

dgCMatrix as an input

Closed this issue · 1 comments

akhst7 commented

Hi,

Is there any way to use a dgCMatrix without converting to matrix or data.frame as an input for PLNPCA

Hi,

Sorry for the long delay in responding. There is currently no way to do this as we rely on model.frame() to provide a formula interface to the end-user. The simplest fix is to convert the dgCMatrix to a standard matrix as you do now.