Skip to content
Prev 19524 / 21312 Next

[Bioc-devel] Manifest and annotation packages for EPIC methylation array v2.0

I am aware of the AnnotationHub package, but currently I think it is not
possible to integrate with minfi.

In the last several lines in
https://github.com/hansenlab/minfi/blob/master/R/IlluminaMethylationAnnotation-class.R

setMethod(
    "getManifest",
    signature(object = "IlluminaMethylationAnnotation"),
    function(object) {
        maniString <- .getManifestString(object at annotation)
        if (!require(maniString, character.only = TRUE)) {
            stop(sprintf("cannot load manifest package %s", maniString))
        }
        get(maniString)
    }
)

Here `maniString` contains the name of a manifest package,
e.g. IlluminaHumanMethylationEPICmanifest. After loading the manifest
package, minfi directly looks for the variable with the same name as the
manifest package name. So it would be the easiest if just making a new
manifest package taking the IlluminaHumanMethylationEPICmanifest as a
template. Or minfi needs to be adjusted to allow for more flexible
integration of new manifest packages/objects.

Cheers,
Zuguang

On Tue, 21 Mar 2023 at 14:58, Kern, Lori <Lori.Shepherd at roswellpark.org>
wrote:

  
  
Message-ID: <CAKjv3e32ohq-K-p2JDtDH_FjGDvc-aR2cgW-R58kSJuaQZkCmQ@mail.gmail.com>
In-Reply-To: <BL1PR12MB5301093B5DDB0A121F3519A8F9819@BL1PR12MB5301.namprd12.prod.outlook.com>