View source: R/summarize.genotype.data.R
summarize.genotype.transitions | R Documentation |
These functions read in all of the individual genotype data files and summarizes the founder allele frequency by sample and SNP.
summarize.genotype.transitions(path = ".", snps)
summarize.by.snps(path = ".", snps)
summarize.by.samples(path = ".", snps)
num.recomb.plot(results, gen)
path |
Character, full path to the genotype directory where the *.genotype.probs.Rdata files are stored. |
snps |
Data.frame containing the marker locations. SNP ID, chromosome, Mb anc cM locations in columns 1 through 4, respectively. |
results |
Data.frame containing results as summarized by summarize.genotype.transitions. |
gen |
Numeric vector containing DO outbreeding generation for all samples in results. Must have sample IDs in names. |
Data.frame with six columns: sample, proximal genotype, distal genotype, chr, proximal Mb, distal Mb.
Daniel Gatti
## Not run: geno.sum = summarize.genotype.transitions()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.