htmlpage package:annotate R Documentation
_F_u_n_c_t_i_o_n_s _t_o _b_u_i_l_d _H_T_M_L _p_a_g_e_s
_D_e_s_c_r_i_p_t_i_o_n:
This function is a modification of 'll.htmlpage', designed to be
able to create links for more than one set of ids.
_U_s_a_g_e:
htmlpage(genelist, filename, title, othernames, table.head, table.center = TRUE, repository = "ll")
_A_r_g_u_m_e_n_t_s:
genelist: A list or 'data.frame' of character vectors containing ids to
be made into hypertext links. See details for more
information.
filename: A filename for the resultant HTML table.
title: A title for the table.
othernames: A list or 'data.frame' of other things to add to the table.
These will not be hyperlinks. The list of othernames can
contain vectors, matrices, 'data.frames' or lists.
table.head: A character vector of column headers for the table.
table.center: Center the table? Defaults to 'TRUE'.
repository: A list of repositories to use for creating the hypertext
links. See details for more information.
_D_e_t_a_i_l_s:
This is a modification of 'll.htmlpage', which is limited to a
single column of hyperlinked ids and lists of vectors for
othernames. This function will accept a list or 'data.frame' of
character vectors, each containing different ids that are to be
turned into hyperlinks (e.g., a list containing affy ids, genbank
accession numbers, and locus link ids). For instances where there
are more than one id per gene, use a sub-list of character
vectors. See the vignette 'prettyOutput' for more information.
Othernames should be a list or 'data.frame'. Again, if there are
multiple entries for a given gene, use a sub-list.
_V_a_l_u_e:
This function is used only for the side effect of creating an HTML
table.
_A_u_t_h_o_r(_s):
Robert Gentleman , further
modifications by James W. MacDonald
_E_x_a_m_p_l_e_s:
library(annotate)
gnames <- as.character(6810:6820)
htmlpage(gnames, "fff.html")
file.remove("fff.html")