Learn R Programming

GeSciLiVis (version 1.2.0)

pub_activity_plot: Visualize the publication activity for genes

Description

This function uses three input parameters, one gene list, one defined set of keywords and species, to run a PubMed database search, and returns an annotated overview of a publication activity plot.

Usage

pub_activity_plot(
g_list,
k_list,
species = "mouse",
output_dir = NULL,
show_progressbar = FALSE
)

Value

None

Arguments

g_list

list of official gene symbols <= 30 elements.

k_list

list of keywords <= 10 elements.

species

selecting the species of interest (species="mouse" or species="human").

output_dir

path to output directory to save resulting csv and png, NULL for not saving.

show_progressbar

boolean: whether to show progress bar

Examples

Run this code
gene_list_mouse  = c("Mbl1")
keyword_list = c("stem cell")
pub_activity_plot(g_list = gene_list_mouse, k_list = keyword_list,
species = "mouse", output_dir=NULL,
show_progressbar=FALSE)

Run the code above in your browser using DataLab