def getMetric(logistic=False, cohensd=False, idp=False, spearman=False,
    controls=False):
    """Return a string which best represents the metric used in the analysis. String is used in output (csv, wordcloud, etc.)"""
    if logistic:
        metric = 'B'
    elif cohensd:
        metric = 'D'
    elif idp:
        metric = 'R'
    elif spearman:
        metric = 'rho'
    elif controls:
        metric = 'beta'
    else:
        metric = 'r'
    return metric
