powered by
get_gene_sentences is used to extract the exact sentence in which query gene is discussed.
get_gene_sentences
get_gene_sentences(genes, abs, filename)
genes a character vector containing the gene/s.
genes
abs an S4 object of class Abstracts
abs
filename specifies the output file name.
filename
an output file containing the sentences for given gene.
# NOT RUN { get_gene_sentences("RBP4", abstracts, "RBP4_sentence.txt") # }
Run the code above in your browser using DataLab