This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Plots for Correlation between two dataframes by row

I have two data frames:

df1

id       Z_score_0hr Z_score_1hr Z_score_6hr
1         11.22      25.33      66.47
2         33.56      33.77      44.77

df2

id       Z_score_0hr Z_score_1hr Z_score_6hr
1         7.55      45      30
2         45.09     29      36.6

I need to find pairwise correlation between the two dataframes. I followed this post (https://stackoverflow.com/questions/9136116/correlation-between-two-dataframes-by-row)

and now I have the pairwise correlation values for each row between df1 and df2. I wanted some ideas regarding plots, scatter plots or others, with which I could represent or highlight those rows which have a high correlation value. Any inputs is greatly appreciated.

r

1 answer

Hi, corrplot comes to mind. Make use of order = 'hclust' to help emphasise similar rows of high|low correlation

Log in to answer this question.