buildPubMedAbst package:annotate R Documentation _A _f_u_n_c_t_i_o_n _t_o _g_e_n_e_r_a_t_e _a_n _i_n_s_t_a_n_t_i_a_t_i_o_n _o_f _a _p_u_b_M_e_d_A_b_s_t _c_l_a_s_s _D_e_s_c_r_i_p_t_i_o_n: This function will take in a XML tree object and will create an instance of a pubMedAbst class. This instance is returned to the caller. _U_s_a_g_e: buildPubMedAbst(xml) _A_r_g_u_m_e_n_t_s: xml: A XMLTree object that corresponds to a Pubmed abstract. _V_a_l_u_e: This function returns an instantiation of a pubMedAbst object to the caller. _A_u_t_h_o_r(_s): Jeff Gentry _S_e_e _A_l_s_o: 'pubmed','genbank' _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]]) }