compare_SMCs {YAPSA} | R Documentation

## Compare all strata from different stratifications

### Description

Compare all strata from different orthogonal stratification axes, i.e. othogonal SMCs by cosine similarity of signature exposures. First calls

- `make_strata_df`, then

- `plot_strata` and finally

- `make_comparison_matrix`

### Usage

    compare_SMCs(in_stratification_lists_list, in_signatures_ind_df, output_path,
      in_nrect = 5, in_attribute = "")

### Arguments

`in_stratification_lists_list` | List of lists with entries from different (orthogonal) stratification axes or SMCs
`in_signatures_ind_df` | A data frame containing meta information about the signatures
`output_path` | Path to directory where the results, especially the figure produced by `corrplot` is going to be stored.
`in_nrect` | Number of clusters in the clustering procedure provided by `corrplot`
`in_attribute` | Additional string for the file name where the figure produced by `corrplot` is going to be stored.

### Value

The comparison matrix of cosine similarities.

### See Also

`plot_strata`

`make_comparison_matrix`

### Examples

     NULL

[Package YAPSA version 1.12.0 Index]