Hi there, I'm attempting to create a chip package that includes both probe IDs from an mRNA expression custom array for salmo salar, and gene IDs of the genes the probes are linked to.
I created the org.Ssalar.eg.db with makeOrgPackageFromNCBI() function.
I have also created a 2 column data frame ("probeFrame") which I have thoroughly check, which includes a probe.id and a gene.id column, as suggested by the use description of the function. I have checked with several commands and everything seems to be in order with the file and it's data.
I also confirmed that all gene IDs from the "probeFrame" file have a match with a gene ID from the "org.Ssalar.eg.db" package.
I have run the command in R version 4.3 and 4.5.1 (which is the one I currently have) and with AnnotationForge version 1.44 and 1.5, and in both scenerios I get the same error message and I've run out of ideas regarding how to solve it so I would appretiate any help anyone can provide :))))))))
This is an example of the exact code I'm using:
makeChipPackage(
prefix = "SalmonChip",
probeFrame = probeFrame,
orgPkgName = "org.Ssalar.eg.db",
version = "1.0.0",
maintainer = "name <name@mail.com>",
author = "name <name@mail.com>",
outputDir = "R_Analysis",
tax_id = "8030",
genus = "Salmo",
species = "salar")
Error in data.frame(..., check.names = FALSE) : arguments imply differing number of rows: 29093, 0
Will you run again, and this time right after the error, run
traceback()
and post the results here.Thanks for the reply (:
Here is the result (I removed my email, and the probeFrame I created is under a different name "mapping_df", but those are the only changes).