-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
questionFurther information is requestedFurther information is requested
Description
the bioconductor Biobase package creates a generic samples function:
This makes it so if you load Biobase after BiocProject, it fails:
library(BiocProject)
library(Biobase)
bp = BiocProject::BiocProject("/home/ns5bc/code/dura_macs/metadata/config.yaml", subproject="atac")
samples(bp)
Returns:
Error in (function (classes, fdef, mtable) :
unable to find an inherited method for function ‘samples’ for signature ‘"SimpleList"’
and:
Attaching package: ‘Biobase’
The following object is masked from ‘package:BiocProject’:
samples
The following object is masked from ‘package:pepr’:
samples
it works if you load BiocProject after Biobase, but then samples can't work on a MIAME object:
> samples(m)
Error in (function (classes, fdef, mtable) :
unable to find an inherited method for function ‘samples’ for signature ‘"MIAME"’
> Biobase::samples(m)
list()
> class(m)
[1] "MIAME"
attr(,"package")
[1] "Biobase"
Is there any way to make these place nicely?
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested