error msg for probe match (altcdfenvs)
1
0
Entering edit mode
Jack Luo ▴ 440
@jack-luo-4241
Last seen 10.2 years ago
Hi, I am new to the probe match package altcdfenvs, when I was trying the code from the link: http://127.0.0.1:21417/library/altcdfenvs/html/matchAffyProbes.html library(hgu133aprobe) filename <- system.file("exampleData", "sample.fasta", package="altcdfenvs") fasta.seq <- readFASTA(filename) targets <- unlist(lapply(fasta.seq, "[[", "seq")) names(targets) <- lapply(fasta.seq, "[[", "desc") names(targets) <- sub("^>.+\\|(NM[^ \\|]+|Hs[^ \\|]+)\\| ? .+$", "", names(targets)) m <- matchAffyProbes(hgu133aprobe, targets, "HG-U133A") The error msg is Error in validObject(.Object) : invalid class "AffyProbesMatch" object: labels should be unique. Any idea what's the problem? Thanks, -Jack [[alternative HTML version deleted]]
probe altcdfenvs probe altcdfenvs • 1.1k views
ADD COMMENT
0
Entering edit mode
Laurent Gautier ★ 2.3k
@laurent-gautier-29
Last seen 10.2 years ago
On 28/10/10 23:48, Jack Luo wrote: > Hi, > > I am new to the probe match package altcdfenvs, when I was trying the code > from the link: > > http://127.0.0.1:21417/library/altcdfenvs/html/matchAffyProbes.html > > library(hgu133aprobe) > > filename<- system.file("exampleData", "sample.fasta", > package="altcdfenvs") > > fasta.seq<- readFASTA(filename) > > targets<- unlist(lapply(fasta.seq, "[[", "seq")) > names(targets)<- lapply(fasta.seq, "[[", "desc") > names(targets)<- sub("^>.+\\|(NM[^ \\|]+|Hs[^ \\|]+)\\| ? .+$", "", > names(targets)) > > m<- matchAffyProbes(hgu133aprobe, > targets, > "HG-U133A") > > > The error msg is > Error in validObject(.Object) : > invalid class "AffyProbesMatch" object: labels should be unique. > > Any idea what's the problem? A guess: You have sum(duplicated(names(targets))) > 0 And this is obviously not something you want. Laurent > Thanks, > > -Jack > > [[alternative HTML version deleted]] > > _______________________________________________ > Bioconductor mailing list > Bioconductor at stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor
ADD COMMENT

Login before adding your answer.

Traffic: 765 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6