annotate, htmlpage and othernames
1
0
Entering edit mode
Morten ▴ 300
@morten-929
Last seen 10.2 years ago
Hello, Im having some trouble with the htmlpage function in the package annotate. I want to import my top 100 list of probe ID's and use my annotation package to generate a html page. I am able to build the hyperlinks, but htmlpage will not paste the contents in "othernames" into the table. here is my code: library(AgilentHuman1av2) library(annotate) id<-read.table("24t_probeid.txt", header=T) probe<-as.matrix(id) symbol <- getSYMBOL(probe,data="AgilentHuman1av2") ll <- getLL(probe,data="AgilentHuman1av2") res<-data.frame(probe,cbind(unlist(symbol))) names(res)<-c("Probe ID","Gene Symbol") htmlpage(ll,filename="ll.html",title="Test",othernames=res,table.head= c("LocusID",names(res)),table.center=TRUE) I am using R 2.1.0, Annotate 1.5.15 on Linux. If someone are willing to enlighten me I would be very greatful morten
probe annotate probe annotate • 865 views
ADD COMMENT
0
Entering edit mode
@james-w-macdonald-5106
Last seen 2 days ago
United States
Morten Mattingsdal wrote: > Hello, > > Im having some trouble with the htmlpage function in the package > annotate. I want to import my top 100 list of probe ID's and use my > annotation package to generate a html page. I am able to build the > hyperlinks, but htmlpage will not paste the contents in "othernames" > into the table. > > here is my code: > library(AgilentHuman1av2) > library(annotate) > id<-read.table("24t_probeid.txt", header=T) > probe<-as.matrix(id) > symbol <- getSYMBOL(probe,data="AgilentHuman1av2") > ll <- getLL(probe,data="AgilentHuman1av2") > res<-data.frame(probe,cbind(unlist(symbol))) > names(res)<-c("Probe ID","Gene Symbol") > htmlpage(ll,filename="ll.html",title="Test",othernames=res,table.hea d=c("LocusID",names(res)),table.center=TRUE) > > I am using R 2.1.0, Annotate 1.5.15 on Linux. I think this is due to a bug I recently fixed. Try upgrading to annotate 1.5.16 and see if that helps. Best, Jim > > If someone are willing to enlighten me I would be very greatful > morten > > _______________________________________________ > Bioconductor mailing list > Bioconductor at stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor -- James W. MacDonald Affymetrix and cDNA Microarray Core University of Michigan Cancer Center 1500 E. Medical Center Drive 7410 CCGC Ann Arbor MI 48109 734-647-5623
ADD COMMENT
0
Entering edit mode
I updated to 1.5.16 and now it works! thanks morten > Morten Mattingsdal wrote: > >> Hello, >> >> Im having some trouble with the htmlpage function in the package >> annotate. I want to import my top 100 list of probe ID's and use my >> annotation package to generate a html page. I am able to build the >> hyperlinks, but htmlpage will not paste the contents in "othernames" >> into the table. >> >> here is my code: >> library(AgilentHuman1av2) >> library(annotate) >> id<-read.table("24t_probeid.txt", header=T) >> probe<-as.matrix(id) >> symbol <- getSYMBOL(probe,data="AgilentHuman1av2") >> ll <- getLL(probe,data="AgilentHuman1av2") >> res<-data.frame(probe,cbind(unlist(symbol))) >> names(res)<-c("Probe ID","Gene Symbol") >> htmlpage(ll,filename="ll.html",title="Test",othernames=res,table.he ad=c("LocusID",names(res)),table.center=TRUE) >> >> >> I am using R 2.1.0, Annotate 1.5.15 on Linux. > > > I think this is due to a bug I recently fixed. Try upgrading to > annotate 1.5.16 and see if that helps. > > Best, > > Jim > > >> >> If someone are willing to enlighten me I would be very greatful >> morten >> >> _______________________________________________ >> Bioconductor mailing list >> Bioconductor at stat.math.ethz.ch >> https://stat.ethz.ch/mailman/listinfo/bioconductor > > >
ADD REPLY

Login before adding your answer.

Traffic: 650 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