Skip to content

ScoreMatrixBin not working in version 1.35.0 #212

@shuye2009

Description

@shuye2009

I am trying to run your devel version (1.35.0) of genomation , but the ScoreMatrixBin function gives me an error (I have Matrix 1.7-0 installed):

library(genomation)
data(cage)
data(cpgi)
data(promoters)
myMat=ScoreMatrixBin(target=cage,

  •                  windows=cpgi,bin.num=10,bin.op="mean",weight.col="tpm")
    

Error in validObject(.Object) :
invalid class “ScoreMatrix” object: superclass "mMatrix" not defined in the environment of the object's class
In addition: Warning message:
In .local(target, windows, bin.num, bin.op, strand.aware) :

1 windows fall off the target

─ Session info ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
setting value
version R version 4.4.0 alpha (2024-03-26 r86209 ucrt)
os Windows 10 x64 (build 19045)
system x86_64, mingw32
ui RStudio
language (EN)
collate English_United States.utf8
ctype English_United States.utf8
tz America/New_York
date 2024-03-29
rstudio 2023.12.0+369 Ocean Storm (desktop)
pandoc 3.1.1 @ C:/Program Files/RStudio/resources/app/bin/quarto/bin/tools/ (via rmarkdown)

How can I solve this problem?

Thanks a lot!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions