Learn R Programming

pubmed.mineR (version 1.0.21)

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)

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

Arguments

object

An S4 object of class Abstracts

gene

a character input of gene name(HGNC approved symbol)

Author

S. Ramachandran, Jyoti Rani

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
if (FALSE) Genewise(x, "TLR4")
## here 'x' contains the S4 object of Abstracts.

Run the code above in your browser using DataLab