AdverseEvents: AdverseEvents

Description Usage Arguments Value Examples

View source: R/Data.R

Description

This function creates a data table with the event candidates extracted from MEDLINE

Usage

1
AdverseEvents(event_filename)

Arguments

event_filename

The name of the flat file containing the event specific information extracted from MEDLINE

Value

An object containing for adverse event candidates: names, MeSH codes, and MEDLINE Ids for papers mentioning potentially adverse events

Examples

1
2
3
4
5
6
7
8
{

   events <- AdverseEvents("manifestations_MEDLINE_360k.txt")
   
   #will return the PubMed IDs for the 933 papers in MEDLINE mentioning Epilepsy as an adverse event
   events[event=="Epilepsy",]$PMID
    
} 

winnenbr/GEA documentation built on May 4, 2019, 6:32 a.m.