createSequentialIdentifier | R Documentation |
Sometime simpler to rename multiple grouping columns as one single column which encodes all the possible combinations.
createSequentialIdentifier(df, groupVars, sampleIdVar)
df |
- a df which may be grouped in which case the grouping can be interpreted as a feature and each group must have the same number in it. |
groupVars |
- the columns(s) for which we want to create a label - as a list of columns quoted by vars(...). Essentially a combination of discrete variables. i.e. identifies each sample. |
sampleIdVar |
- the name of the target column for the new discrete variable (or sample identifier) |
a dbplyr dataframe containing the grouped function
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.