GOgrep: Grep a key word from a GO results table and return specific...

View source: R/GO.R

GOgrepR Documentation

Grep a key word from a GO results table and return specific columns

Description

Grep a key word from a GO results table and return specific columns

Usage

GOgrep(GOtable, key, cols = c("term_name", "intersection"))

Arguments

GOtable

Data frame returned from GO_GEM or clusGO with returnRes=TRUE

key

Character to be matched in the column 'term_name'. Note that the key is not case sensitive and will return parital matches. Be sure to review the results.

cols

Character vector of any of colnames(GOtable) indicating which columns should be returned. Default is c("term_name","intersection").

Value

Data frame of subset GOtable where key is found in term_name and columns match cols. If no matches are found, NA is returned.


kevincjnixon/BinfTools documentation built on July 10, 2024, 11:46 a.m.