You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## When I run the code as below, I got an error. Could you help me deal with the bugs? Thanks a lot.
data(cage)
data(promoters)
scores1=ScoreMatrix(target=cage,windows=promoters,strand.aware=TRUE,
weight.col="tpm")
what version of genomation are you using? I just quickly checked your code, and for me, it works just fine. Do you use S4Vectors package version >= 0.17.25 ?
## When I run the code as below, I got an error. Could you help me deal with the bugs? Thanks a lot.
data(cage)
data(promoters)
scores1=ScoreMatrix(target=cage,windows=promoters,strand.aware=TRUE,
weight.col="tpm")
library(GenomicRanges)
covs = coverage(cage)
scores2 = ScoreMatrix(target=covs,windows=promoters,strand.aware=TRUE)
scores2
bam.file = system.file('unitTests/test.bam', package='genomation')
windows = GRanges(rep(c(1,2),each=2), IRanges(rep(c(1,2), times=2), width=5))
scores3 = ScoreMatrix(target=bam.file,windows=windows, type='bam')
scores3
Error in validObject(.Object) :
invalid class “ScoreMatrix” object: superclass "vector_OR_Vector" not defined in the environment of the object's class
The text was updated successfully, but these errors were encountered: