split_by_metadata: Given a metadata data-frame and a vector of column names...

Description Usage Arguments Value

View source: R/summaryBuilders.R

Description

Given a metadata data-frame and a vector of column names (split_by), builds a partition of rows based on all possible combinations of the columns identified by split_by.

Usage

1
split_by_metadata(metadata, split_by, simplify = FALSE)

Arguments

metadata

A data.frame with the metadata.

split_by

The names of the columns in metadata according to which they should be split.

simplify

If TRUE, columns with no discriminatory power will be removed from the resulting Metadata. Furthermore, if there is only one category left, it will be labeled "All".

Value

A list with information about the new partition.


CharlesJB/ENCODExplorer documentation built on Dec. 9, 2019, 10:11 a.m.