Description Usage Arguments Value Examples
grep_df_subset
is an internal function that subsets
a data frame based on supplied pattern. This function is
provided in case it is found useful.
1 | grep_df_subset(x, toMatch)
|
x |
data frame where columns are to be removed |
toMatch |
vector of characters to remove from x |
A subset of a genotypeR object
1 2 3 4 | df <- data.frame(one=rep(1,5), two=rep(1,5), three=rep(1,5), four=rep(1,5))
toMatch <- paste(c("one", "two"), collapse="|")
##remove toMatch
grep_df_subset(df, toMatch)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.