% Generated by roxygen2: do not edit by hand % Please edit documentation in R/mash-evaluation.R \name{get_pairwise_sharing} \alias{get_pairwise_sharing} \title{Compute the proportion of (significant) signals shared by magnitude in each pair of conditions, based on the poterior mean} \usage{ get_pairwise_sharing(m, factor = 0.5, lfsr_thresh = 0.05, FUN = identity) } \arguments{ \item{m}{the mash fit} \item{factor}{a number between 0 and 1 - the factor within which effects are considered to be shared.} \item{lfsr_thresh}{the lfsr threshold for including an effect in the assessment} \item{FUN}{a function to be applied to the estimated effect sizes before assessing sharing. The most obvious choice beside the default 'FUN=identity' would be 'FUN=abs' if you want to ignore the sign of the effects when assesing sharing.} } \description{ Compute the proportion of (significant) signals shared by magnitude in each pair of conditions, based on the poterior mean } \details{ For each pair of tissues, first identify the effects that are significant (by lfsr