Insock's all codes for revision PLoS compbio