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
1 | is_valid_mart(mart, id_type = "entrezgene")
|
mart |
A 'mart' object from the 'biomaRt' package. |
id_type |
Check that this identifier type is a named field / column in the 'mart' object. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.