Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rerunning the analyses #1

Open
caseywdunn opened this issue Aug 26, 2019 · 1 comment
Open

Rerunning the analyses #1

caseywdunn opened this issue Aug 26, 2019 · 1 comment

Comments

@caseywdunn
Copy link

First goal is to rerun the analyses. Readme notes that it runs ontop of our earlier repo, looking at the details.

Authors used absolute paths, these will need to be updated to relative paths that can run on any system.

From https://github.com/dunnlab/Testing_the_ortholog_conjecture/blob/master/Premanuscript_run_TM.R :

  • setwd("/Users/admin/Desktop/nwork/simulation/")
  • source( "/Users/admin/Desktop/nwork/Empirical/protein_trees.nhx/function_TM_new.R" )
  • load("/Users/admin/Desktop/nwork/simulation/manuscript_dunn.RData")

There are several image dumps that are commented out. Likely need to uncomment one of those.

  • #save.image("BM_trees_for_tau1.rda")
  • #save.image("BM_trees_for_tau1.rda")
  • #save.image("BM_trees_for_tau1.rda")
  • #save.image("Data_TMRR.rda")

The following comment from the README suggests it is that last one that should be uncommented - "The outputs are generated and saved as "Data_TMRR.rda" available in https://doi.org/10.5281/zenodo.3354285."

Now a look at paths in https://github.com/dunnlab/Testing_the_ortholog_conjecture/blob/master/Manuscript.Rmd

  • bibliography: /Users/admin/Desktop/nwork/simulation/TM.bib
  • csl: /Users/admin/Desktop/nwork/simulation/styles-master/styles-master/plos.csl
  • setwd("/Users/admin/Desktop/nwork/simulation/")
  • source( "/Users/admin/Desktop/nwork/Empirical/protein_trees.nhx/function_TM_new.R" )
  • load("/Users/admin/Desktop/nwork/simulation/manuscript_dunn.RData")
  • load("/Users/admin/Desktop/nwork/simulation/Data_TMRR.rda")
  • img <- png::readPNG("/Users/admin/Desktop/nwork/simulation/flowchart_S4_new.png")
@caseywdunn
Copy link
Author

Will go with a model that assumes Testing_the_ortholog_conjecture (this repo) and comparative_expression_2017 (from https://github.com/caseywdunn/comparative_expression_2017) are sister directories, ie they both have the same parent directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant