is_valid_mart: is_valid_mart

Description Usage Arguments

View source: R/homologue_db.R

Description

Checks if a user-provided object is a valid 'mart' object from the biomaRt package; and if it is, where the user-specified id-type is present as one of the attributes (ie, columns) of that mart

Usage

1
is_valid_mart(mart, id_type = "entrezgene")

Arguments

mart

A 'mart' object from the 'biomaRt' package.

id_type

Check that this identifier type is a named field / column in the 'mart' object.


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