Description Usage Arguments Value See Also Examples
The function finds relevant column(s) of interest from a vector of column names derived from a dataframe. If no usable column is found, the function spits out a relevant error or returns the index of the usable column(s). This is an assistant function called by functions listed in the see also section.
1 | getRelevantCol(col.names, col.options, col.type = NULL, multiple.ok = FALSE)
|
col.names |
column names from a dataframe |
col.options |
potential column names or partial names that may exist in col.names |
col.type |
type of column information the function is searching for, used in construction of error messages. Default is NULL. |
multiple.ok |
if multiple matches are found then return indices, else spit an error out. Default is TRUE. |
the index of usable column(s) or an error if no applicable column is found.
makeGRanges
, getNearestFeature
,
getSitesInFeature
.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.