@nirgrahamuk, thank to reply this post! But, i've a question for you i change the last code in this way:
slide_dfr(combinations_to_do,
~data.frame(var1 = .[1],
var2 = .[2],
cor_spear = cor(brca_expressions[[.[1]]], brca_expressions[[.[2]]], method="spearman")))
i got this error:
Error in cor(brca_expressions[[.[1]]], brca_expressions[[.[2]]], method = "spearman") :
supply both 'x' and 'y' or a matrix-like 'x'
i don't know how to system it, remember i've my genes into the rows of my dataframe brca!