-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
samples function and generics #35
Comments
information here: http://adv-r.had.co.nz/S4.html |
using setGeneric("samples", getGeneric("samples", package="Biobase")) in
and
but redefining the generic in Yet, all the functionality is there: > samples(bp)
sample_name file_path
1: laminB1Lads data/laminB1Lads.bed
2: vistaEnhancers data/vistaEnhancers.bed
> m=Biobase::MIAME()
> samples(m)
list() Do we go this route? |
Even if the former worked we'd run into the same issue when using
|
this causes pepr to depend on biobase though, correct? we don't want to do that... isn't there a way to keep pepr independent, but allow biocproject to attach the pepr function to the biobase generic for annotated objects? |
yes |
the bioconductor
Biobase
package creates a genericsamples
function:https://github.com/Bioconductor/Biobase/blob/2845fa44788b8379f931fa0a19c6812fb1dd453b/R/AllGenerics.R#L60
This makes it so if you load Biobase after
BiocProject
, it fails:Returns:
and:
it works if you load
BiocProject
afterBiobase
, but thensamples
can't work on aMIAME
object:Is there any way to make these place nicely?
The text was updated successfully, but these errors were encountered: