Description Usage Arguments Value See Also Examples
is_gt_col
uses grep
to check which columns of the vars
data frame contain the string "_GT".
1 | is_gt_col(vars, pat = "_GT$")
|
vars |
The data frame of vars. |
pat |
character: the pattern which matches a typical genotype column (default: "_GT$"). |
an atomic vector of the indices of the columns that yielded a match.
grep
.
1 2 3 4 | ## Not run:
is_gt_col(vars) # assumes you have a vars data frame
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.