• Home
  • Blog
  • Papers
  • Research
  • Scripts/data
  • Teaching/mentoring
  • YBs useful R functions

Yaniv Brandvain

Population genetics of speciation and mating system evolution

Feeds:
Posts
Comments

Scripts/data

I am a proud member of the open science revolution. I believe that, within limits (i.e. after publication), we should all share our data and analyses. Sharing data and scripts allows scientists to validate each others research, build off previous work, provides transparency which is often hard to detail in dense scientific papers, and allows for novel use of previously published data.  To that end, I will strive to make all my data and analyses available here.

Data

[Data] Mating system and mito-nuclear gene transfer (Brandvain et al 2007)

[Data] Mitochondrial substitution rate and mito-nuclear gene transfer (Brandvain and Wade 2009)

Scripts

A basic hidden markov model (HMM):Imagine that you really want to know something (e.g. local ancestry across a genome), but you don’t have direct access to that information. What you do have is a series of observations from which you might be able to infer this hidden state (e.g. genotypes at a locus across the genome). This is where you can use a hidden Markov Model.

Here is an R script, in which a professional coin flipper switches between using a fair and a biased coin. I wrote this with the help of CPB graduate students, Alisa Sedghifar, Nick Fabina, Jamie Ashander and Carl Boettiger at our algorithm discussion group. We generate a series of observations of heads and tails to guess which coin he has flipping throughout our encounter. For now we assumed that we knew the rate of switching and the coins bias, but we can do without this prior knowledge by using the Baum Welch algortihm (details later).

With Stephen Wright and Graham Coop, I am currently using an HMM to infer ancestral haplotypes of individuals of the self pollinating species, Capsella rubella across the genome.

In blue we have our guess of whther the coin was fair or biased. In black we have the true state of the coin, and in red we have the percentage of heads observed in ten flips.

Covariance between organelle and symbiont genomes:

Share this:

  • Twitter
  • Facebook

Like this:

Like Loading...

  • News

    Transmission mode ms accepted by Evolutionary Ecology Research [Jan15, 2013] link

    Genetics preprint! Scrambling eggs: Meiotic drive and the evolution of female recombination rates [Dec 11, 2011] arXiv

    Our response to a technical comment by Phil Hedrick. [Dec 10, 2011]

    New paper! Horizontal Transmission Rapidly Erodes Disequilibria Between Organelle and Symbiont Genomes [Sept 15, 2011]

    IntrRo to R course complete [Sept 14, 2011]

    Calendar pre-orders from Sally Harless [Sept 10, 2011]

  • Useful links

    R resources

    R-project

    Quick R

    R in a Nutshell

    Advice from Marissa

    LaTeX resources

    LaTeX tips from NASA

    Advice for life as a scientist

    Spencer Hall's guide to everything

    Math/algorithm problems

    Area of overlapping segments

  • Recent Posts

    • BAPG schedule
    • BAPG VI at UC Davis
    • kummerspeck and the departure of Torsten
    • New decorations from elly mackay (theaterclouds)!!!
    • Scrambling eggs toasts meiotic drive
  • Categories

    • my science
    • OPP (Other People's Papers)
    • Posts
  • RSS My google Reader

    • Assortative Mating in Animals. May 13, 2013
    • Secondary Evolution of a Self-Incompatibility Locus in the Brassicaceae Genus Leavenworthia May 14, 2013
    • The Geography of Recent Genetic Ancestry across Europe May 7, 2013
    • Ecology: Cheats make yeast unsteady May 8, 2013
    • The Genomic Signature of Crop-Wild Introgression in Maize May 9, 2013
    • A battle between genomes in plant male fertility April 26, 2013
    • Dissecting High-Dimensional Phenotypes with Bayesian Sparse Factor Analysis of Genetic Covariance Matrices [INVESTIGATION] May 1, 2013
    • A Fast Estimate for the Population Recombination Rate Based on Regression [INVESTIGATION] April 15, 2013
    • Bulk Segregant Analysis of an Induced Floral Mutant Identifies a MIXTA-like R2R3 MYB Controlling Nectar Guide Formation in Mimulus lewisii [NOTE] April 5, 2013
    • PERCHED AT THE MITO-NUCLEAR CROSSROADS: DIVERGENT MITOCHONDRIAL LINEAGES CORRELATE WITH ENVIRONMENT IN THE FACE OF ONGOING NUCLEAR GENE FLOW IN AN AUSTRALIAN BIRD April 9, 2013
  • Contributed art

    Thanks to the following artists for allowing me to use their work in my headers.

    sally harless (Sadly Harmless)

    elly mackay (blog)

  • Tags

    Ancestry Art BAPG Comics Conflict Genomic imprinting Inbreeding Meiosis Mitochondria Paper review silly Speciation Symbionts Travel
  • Archives

    • May 2012
    • April 2012
    • February 2012
    • December 2011
    • November 2011
    • September 2011

Blog at WordPress.com.

Theme: MistyLook by WPThemes.


Follow

Get every new post delivered to your Inbox.

Powered by WordPress.com
%d bloggers like this: