Entering edit mode
Guillaume Tiberi
▴
10
@guillaume-tiberi-4785
Last seen 10.2 years ago
Hi all
I want to load annotation file "affy_HG-U133_Plus_2.zip" with
"Resourcerer"
and its function getResourcerer(). Sorry for french error_message ;)
library("Resourcerer")
list.files(file.path(.path.package("Resourcerer"), "temp"))
*# > [1] "README"*
annot <- getResourcerer(
"affy_HG-U133_Plus_2.zip",
organism = "human",
destDir = file.path(.path.package("Resourcerer"), "temp"),
baseUrl =
"ftp://occams.dfci.harvard.edu/pub/bio/tgi/data/Resourcerer",
clean = TRUE,
exten = "zip"
)
# *Erreur dans file(file, "rt") : impossible d'ouvrir la connexion*
*# De plus : Message d'avis :*
*# In file(file, "rt") :*
*# impossible d'ouvrir le fichier
'/home/tiberi/R/i486-pc-linux-gnu-library/2.10/Resourcerer/temp
/affy_HG-U133_Plus_2'
: Aucun fichier ou dossier de ce type*
ls()
*# character(0)*
# Files are created
list.files(file.path(.path.package("Resourcerer"), "temp"))
*# > [1] "affy_U133Plus2"
"file643c9869affy_HG-U133_Plus_2.zip" "README"*
*
*
# You can see the problem is uncorrectly named : temp file was
named "affy_U133Plus2" instead of "affy_HG-U133Plus2". "HG-" is
missing
# Strangely, exemple shown in ?getResourcerer() is functionnal, and
resourcerer object is correctly created
resourcerer <- getResourcerer(
"Agilent_Human1_cDNA.zip",
organism = "human",
destDir = file.path(.path.package("Resourcerer"), "temp"),
baseUrl =
"ftp://occams.dfci.harvard.edu/pub/bio/tgi/data/Resourcerer",
clean = TRUE,
exten = "zip"
)
> ls()
# [1] "resourcerer"
Have you got an idear ?
thanks
Guillaume
[[alternative HTML version deleted]]