compare_SMCs: 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. First calls

Usage

1
2
3
4
5
6
7
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

1

YAPSA documentation built on Nov. 8, 2020, 4:59 p.m.