buildChromLocation 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 _c_h_r_o_m_L_o_c_a_t_i_o_n _c_l_a_s_s _D_e_s_c_r_i_p_t_i_o_n: This function will take the name of a data package and build a chromLocation object representing that data set. _U_s_a_g_e: buildChromLocation(dataPkg) _A_r_g_u_m_e_n_t_s: dataPkg: The name of the data package to be used _D_e_t_a_i_l_s: The requested data set must be available in the user's '.libPaths()', and the function will throw an error if this is not the case. If the data package is present, the necessary information will be extracted from the data package and a 'chromLocation' object will be created. _V_a_l_u_e: A 'chromLocation' object representing the specified data set. _A_u_t_h_o_r(_s): Jeff Gentry _E_x_a_m_p_l_e_s: ## A bit of a hack to not have a package dependency on hgu95av2 ## but need to fiddle w/ the warn level to not fail the example anyways. curWarn <- getOption("warn") options(warn=0) on.exit(options(warn=curWarn), add=TRUE) if (require(hgu95av2)) { z <- buildChromLocation("hgu95av2") } else print("This example requires the hgu95av2 data package")