def getSplicingData(data):
    """
    Keeps only those rows that correspond to splicing mutations.
    Arguments:
        data =  dataframe
    Returns:
        sp_data = dataframe
    """
    sp_data = data[(data["SpliceSite"] == 'yes')]
    return sp_data