This function selects both positive and negative correlating genes based on coefficiency and pvalue.

It should not be used directly, only inside .combine_CORs_list() function.

.is_significant_correlation(magnitude, pvalue)

Arguments

magnitude

correlation coefficiency value

pvalue

p value for Pearson correlation

Value

a data frame of both positive and negative correlating gene with correlation coefficiency and p value

See also

Other helper function for correlation analysis: .combine_CORs_list(), .combine_CORs_summary(), .get_cluster_genes()