make_catalogue_strata_df {YAPSA} | R Documentation

## Group strata from different stratification axes

### Description

For a comparison of the strata from different orthogonal stratification axes, i.e. othogonal SMCs, the strata have to be grouped and reformatted. This function does this task for the comparison by cosine similarity of mutational catalogues. Output of this function is the basis for applying `make_comparison_matrix`. It is called by the wrapper function `run_comparison_catalogues`.

### Usage

    make_catalogue_strata_df(in_stratification_lists_list,
      in_additional_stratum = NULL)

### Arguments

`in_stratification_lists_list` | List of lists with entries from different (orthogonal) stratification axes or SMCs
`in_additional_stratum` | Include an additionally supplied stratum in comparison in non-NULL.

### Value

A list with entries `strata_df`, `number_of_SMCs`, `number_of_strata`.

- `strata_df`: Pasted numerical data frame of all strata (these are going to be compared e.g. by `make_comparison_matrix`).

- `number_of_SMCs`: Number of orthogonal stratifications in `in_stratification_lists_list` and additional ones.

- `number_of_strata`: Cumulative number of strata (sum over the numbers of strata of the different stratifications in `in_stratification_lists_list`) and additional ones.

### See Also

`plot_strata`

`make_comparison_matrix`

`run_comparison_catalogues`

### Examples

     NULL

[Package YAPSA version 1.12.0 Index]