Learn R Programming

pubmed.mineR (version 1.0.3.1)

Genewise: To Search the number of abstracts for Genes

Description

Genewise reports the number of abstracts for given gene(s) name(s)

Usage

Genewise(object, gene)

Arguments

object
An S4 object of class Abstracts
gene
a character vector of gene names(HGNC approved symbol)

Value

  • Genewise will return an R object containing the abstracts for given gene, and a text file named "dataout.txt" containing the number of abstracts

Details

This function will report the number of abstracts containing the query gene term(s) [HGNC approved symbols], and the result is saved in a text file "dataout.txt". Genewise() will report numbers of abstracts only. The abstracts themselves for corresponding gene names can be obtained using searchabsL() and searchabsT.

Examples

Run this code
Genewise(x, "TLR4")
## here 'x' contains the S4 object of Abstracts.

Run the code above in your browser using DataLab