run_comparison_general: Compare all strata from different stratifications

Description Usage Arguments Value See Also Examples

View source: R/compare_SMCs.R

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

Usage

1
2
3
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

1
2

huebschm/YAPSA documentation built on May 17, 2019, 9:11 p.m.