run_comparison_general {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. Function similar to `compare_SMCs`, but without calling `plot_strata`. First calls

- `make_strata_df`, then

- `make_comparison_matrix`

### Usage

    run_comparison_general(
      in_stratification_lists_list,
      output_path = NULL,
      in_nrect = 5,
      in_attribute = "",
      in_remove_signature_ind = NULL,
      in_additional_stratum = NULL
    )

### Arguments

`in_stratification_lists_list` | List of lists with entries from different (orthogonal) stratification axes or SMCs
`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.
`in_remove_signature_ind` | Omit one of the signatures in `in_signatures_ind_df` for the comparison if non-NULL. The parameter specifies the index of the signature to be removed.
`in_additional_stratum` | Include an additionally supplied stratum in comparison in non-NULL.

### Value

The comparison matrix of cosine similarities.

### See Also

`make_comparison_matrix`

`compare_SMCs`

`run_comparison_catalogues`

### Examples

     NULL

[Package YAPSA version 1.20.1 Index]