Computes Pearson or Spearman correlation between two genes in an expression matrix.
Usage
correlate_genes(expr_matrix, gene_x, gene_y, method = c("pearson", "spearman"))Value
List with components: gene_x, gene_y, method, estimate, p_value, n_samples, expr_x (numeric vector), expr_y (numeric vector)
See also
Other gene-correlation:
correlate_genes_batch(),
plot_gene_correlation()