Description Usage Arguments Value
View source: R/transcription_functions.R
For each column in the query matrix, max_column_correlation will find the column in the target matrix with the highest correlation score, and will return a data.frame with the correlation score and target column name.
1 | max_column_correlation(query_mat, target_mat, method = "pearson")
|
query_mat |
The query matrix |
target_mat |
The target matrix |
method |
The name of the method to pass to cor(). Can be "pearson", "kendall", or "spearman". Default is "pearson". |
a data.frame with 3 columns: query, max_cor, and target.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.