Skip to content

Instantly share code, notes, and snippets.

View juanvillada's full-sized avatar
:octocat:
Enjoying!

Juan C. Villada juanvillada

:octocat:
Enjoying!
View GitHub Profile
@irenenewton
irenenewton / Symbiosis_Papers
Created July 10, 2018 20:37
Symbiosis Papers
Symbiosis reviews
McFall-Ngai M, Hadfield MG, Bosch TC, Carey HV, Domazet-Loso T, Douglas AE, Dubilier N, Eberl G, Fukami T, Gilbert SF, Hentschel U, King N, Kjelleberg S, Knoll AH, Kremer N, Mazmanian SK, Metcalf JL, Nealson K, Pierce NE, Rawls JF, Reid A, Ruby EG, Rumpho M, Sanders JG, Tautz D, Wernegreen JJ. Animals in a bacterial world, a new imperative for the life sciences. Proc Natl Acad Sci U S A. 2013;110(9):3229-36. doi: 10.1073/pnas.1218525110. PubMed PMID: 23391737; PMCID: PMC3587249.
Duron O, Hurst GDD. Arthropods and inherited bacteria: from counting the symbionts to understanding how symbionts count. Bmc Biol. 2013;11. doi: Artn 45 10.1186/1741-7007-11-45. PubMed PMID: WOS:000317692700014.
Conflict and Cooperation in Symbiosis
Mushegian AA, Ebert D. Rethinking "mutualism'' in diverse host-symbiont communities. Bioessays. 2016;38(1):100-8. doi: 10.1002/bies.201500074. PubMed PMID: WOS:000371265200012.
Queller DC, Strassmann JE. Problems of multi-species organisms: endosymbionts to holobionts.
# Classic character vector
paste0("as",".","numeric")
# getting a function
get(paste0("as",".","numeric"))
# getting and running a function
get(paste0("as",".","numeric"))("1")
# With objects
@jhollist
jhollist / bibify_pkgs.R
Last active March 14, 2018 21:49
An R function to turn a vector of package names into a bibliorgraphy
#' Generate a bibliography of packages
#'
#' This function creates an output bibliography from an input character vector
#' of package names. The primary use case for this function is when working
#' with other authors and you need to provide a reference list of packages used.
#'
#' @param pkgs A character vector of packages
#' @param csl A csl file used to format the output bibliography. Good place to
#' look for these is \url{https://github.com/citation-style-language/styles}
#' @param append_bib Existing \code{.bib} file to append package citations to.
@dosorio
dosorio / install_sybilSBML.sh
Last active August 1, 2023 19:34
Commands to install sybilSBML R package on MacOS/Linux
wget https://downloads.sourceforge.net/project/sbml/libsbml/5.17.0/stable/libSBML-5.17.0-core-plus-packages-src.tar.gz
tar -xxvf libSBML-5.17.0-core-plus-packages-src.*
cd libSBML-5.17.0-Source
./configure --prefix=/usr/local/ \
--enable-cpp-namespace \
--enable-fbc \
--enable-shared \
--with-gnu-ld \
--enable-layout \
--enable-comp \
@rosswd
rosswd / multi-git-win.md
Last active February 28, 2024 09:46
Setting up a Github and Bitbucket account on the same computer on Mac OS. Now with a guide for Windows 10.

Setting up github and bitbucket on the same computer (Windows)

Guide for Windows

mix3d asked for some help using this guide with windows so here we go. This was tested with Windows 10. Run all commands in Git Bash once it's installed.

Github will be the main account and bitbucket the secondary.

Git for Windows

  • Download and install Git for Windows
    • In the installer, select everything but decide if you want a desktop icon (2nd step)