pmAbst2HTML             package:annotate             R Documentation

_H_T_M_L _G_e_n_e_r_a_t_i_o_n _f_o_r _P_u_b_M_e_d _A_b_s_t_r_a_c_t_s

_D_e_s_c_r_i_p_t_i_o_n:

     This function will take a 'pubMedAbst' object, or a list of these
     objects and generate a simple web page that will list the titles
     of the abstracts and link to their full page on PubMed

_U_s_a_g_e:

     pmAbst2HTML(absts, filename, title, simple = TRUE, table.center = TRUE)

_A_r_g_u_m_e_n_t_s:

   absts: A list of 'pubMedAbst' (or a single object)

filename: The output filename.  Defaults to absts.html

   title: Extra title information for your listing

  simple: Whether just to list the title & publication date of the
          paper or full information.  Currently unimplmented.

table.center: If TRUE, will center the listing of abstracts

_D_e_t_a_i_l_s:

     This function uses the 'Entrez' functionality provided by NCBI to
     retrieve the abstract URL at the PubMed site.  It will then create
     a tabular webpage which will list the titles of the abstracts
     provided and have them link to the appropriate PubMed page.

_V_a_l_u_e:

     A file with the name provided by 'filename' containing a simple
     HTML file.

_N_o_t_e:

     The functions are part of Bioconductor project at Dana-Farber
     Cancer Institute to provide Bioinformatics functionalities through
     R

_A_u_t_h_o_r(_s):

     Jeff Gentry

_S_e_e _A_l_s_o:

     'pubMedAbst'

_E_x_a_m_p_l_e_s:

             x <- pubmed("9695952","8325638","8422497")
             a <- xmlRoot(x)
             numAbst <- length(xmlChildren(a))
             absts <- list()
             for (i in 1:numAbst) {
                absts[[i]] <- buildPubMedAbst(a[[i]])
             }
             fname <- tempfile()
             pmAbst2HTML(absts,filename=fname)
             file.remove(fname)

