Description Usage Arguments Value
View source: R/import_functions.R
Truncates homer column names matching .Tag.Count(...)
1 | truncate_homer(df, pattern = ".Tag.Count.{0,}?.$", replacement = "")
|
df |
A data frame. |
pattern |
character string containing a regular expression to trim. Defaults to ".Tag.Count.{0,}?.$". |
replacement |
a replacement for matched pattern in sub and gsub. Defaults to "". |
A dataframe with truncated columns.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.