dunnlab / Testing_the_ortholog_conjecture

GNU General Public License v2.0
0 stars 0 forks source link

Introduction

This repository contains files associated with our manuscript: "Phylogenetic comparative methods are problematic when applied to gene trees with speciation and duplication nodes: correcting for biases in testing the ortholog conjecture". This analysis is based on reanalyses of a published paper by Dunn et al. (doi:10.1073/pnas.1707515115).

Brief Description of files

The files include:

These analyses build on the analyses of Dunn et al. Specifically, we import the data file manuscript.RData generated by their script manuscript_kernel.R. We assume this file is in the root directory of this repository and that it is renamed manuscript_dunn.RData. This file includes a variety of objects, including the compara gene tree file (ftp://ftp.ensembl.org/pub/release-75/emf/ensembl-compara/homologies/).

Rerunning our analyses

To re-execute our manuscript:

  1. Clone htis repository.
  2. Download the two RData files available at https://doi.org/10.5281/zenodo.3354285, and place them in the root of the repository directory. These are the rdata file from the manuscript of Dunn et al., and the rdata file generated by our script Premanuscript_run_TM.R.
  3. Knit Manuscript.Rmd.

To rerun all our analyses, you can also execute Premanuscript_run_TM.R, which will regenerate the file Data_TMRR.rda.