caravagnalab / CNAqc

CNAqc - Copy Number Alteration (CNA) Quality Check package
GNU General Public License v3.0
17 stars 8 forks source link

missing specification of package `data.table` in `SBS` function #33

Open valerianilucrezia opened 7 months ago

valerianilucrezia commented 7 months ago

Hi, I've tried to use SBS() function and it returns this error

> CNAqc:::SBS(x) 
ℹ Using reference package: BSgenome.Hsapiens.UCSC.hg19
ℹ Processing n = 2989 SNVs via GRanges
Error in match(x, table, nomatch = 0L) : 
  'match' requires vector arguments

I've tried to run the function from outside CNAqc (by coping and paste it on an R script) and I noticed that at lines 52 and 55, in this file, is used the data.table() function from the data.table package but the package is not include in the NAMESPACE and furthermore the function is not called as data.table::data.table(). Also at line 56 is used dcast() from data.table package.

caravagn commented 6 months ago

Hi @valerianilucrezia can you fix this yourself?

caravagn commented 3 months ago

Any update?

caravagn commented 2 months ago

@valerianilucrezia