| avg_dataset | R Documentation | 
Averages a dataset object.
avg_dataset(
  ds,
  group_by = 2,
  new_name = "Averaged",
  rows_to_keep = NULL,
  cols_to_keep = NULL
)
| ds | A dataset object (a list with any of vals, rowAnn, colAnn). | 
| group_by | Name or index of column in ds$rowAnn to average values by. | 
| rows_to_keep | Numeric, logical or character vectors of rows to keep in ds$vals (length must be number of rows of ds$vals). Note: character if rows are named. | 
| cols_to_keep | Numeric, logical or character vectors of columns to keep in ds$vals(length must be number of columns of ds$vals). Note: character if columns are named. | 
| sort_cols | logical, should we sort columns alphabetically? | 
A dataset subsetted specified rows/columns and averaged.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.