select_and_filter: select_and_filter : extracts data from biomaRt, removes...

Description Usage Arguments Value

View source: R/homologue_functions.R

Description

select_and_filter : extracts data from biomaRt, removes missing values

Usage

1
select_and_filter(filters, values, attributes, mart)

Arguments

filters

Vector of filters for use in a biomaRt select().

values

List (if multiple filters used) or vector of values for use in biomaRt::select().

attributes

Vector of field-names for return from a biomaRt query.

mart

A biomaRt 'mart' object.

Value

A data.frame containing columns for each of the 'attributes' that were selected; and where only complete observations were kept (ie, there is no missing values in the returned data).


russHyde/homologiser documentation built on May 19, 2020, 8:20 p.m.