Description Usage Arguments Value Author(s) See Also Examples
This is a simple function that takes a vector of parental states along a chromosome and identifies where states have changed.
1 | id_recombination_events(snps_genotypes_df)
|
|
a data.frame with two columns:
|
a data.frame containing the midpoint between focal snp i and snp i-1 and whether their states were the same (0) or different (1).
Tyler D. Hether
1 2 3 | df <- data.frame(snps=100*(1:10),
states=c(rep(0,4), rep(1,6)))
id_recombination_events(df)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.