Skip to content
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

Thanks for doing this. Getting an error with minifi::mapToGenome #2

Open
jsevo opened this issue Oct 5, 2023 · 4 comments
Open

Thanks for doing this. Getting an error with minifi::mapToGenome #2

jsevo opened this issue Oct 5, 2023 · 4 comments

Comments

@jsevo
Copy link

jsevo commented Oct 5, 2023

Following the minifi instructions, then applying as per the README:

RGset@annotation <- c(array = "IlluminaMouseMethylation", annotation = "12.v1.mm10")

yields an error when using mapToGenome:

GRset <- mapToGenome(RSet)

Loading required package: IlluminaMouseMethylationanno.12.v1.mm10 Error in getAnnotationObject(object) : cannot load annotation package IlluminaMouseMethylationanno.12.v1.mm10 In addition: Warning message: In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, : there is no package called ‘IlluminaMouseMethylationanno.12.v1.mm10’

@chiaraherzog
Copy link
Owner

chiaraherzog commented Oct 6, 2023

Hi,

thanks for your message! Can I check that you also have IlluminaMouseMethylationanno12.v1.mm10 installed and loaded in?

For human packages, there are also two packages (manifest and annotation) but typically one is loaded in 'under the hood' if it's not present yet. I have added a pull request to minfi for the mouse packages to be included but it has not yet been added.

For me this code executes without errors (with the Illumina Mouse demo set from here:

library(minfi)
library(IlluminaMouseMethylationanno.12.v1.mm10)
library(IlluminaMouseMethylationmanifest)

RGset <- read.metharray.exp("~/Downloads/mousedemo/Infinium Mouse Methylation Demo Dataset/",
                            recursive = T)

RGset@annotation <- c(array = "IlluminaMouseMethylation", annotation = "12.v1.mm10")

Mset <- preprocessRaw(RGset)
Rset <- ratioConvert(Mset)
GRset <- mapToGenome(Rset)

Let me know if adding the additional package works. I'll think about adding a dependence for the other package when downloading one of the mouse packages.

Best,
Chiara

@chiaraherzog
Copy link
Owner

Hi @jsevo - just wanted to check whether you had any issues or comments? I'd like to close this issue.

Best,
Chiara

@jsevo
Copy link
Author

jsevo commented Jul 13, 2024 via email

@chiaraherzog
Copy link
Owner

Hi @jsevo - any updates on this? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants