View source: R/get_parental_genotypes.R
get_parental_genotypes | R Documentation |
The function collects the SNPs and their genotypes/gen2phy information for parental genotypes.
get_parental_genotypes(input,gen2phy,keep_homo)
input |
Required: a input vcf or hapmap file. |
gen2phy |
Required: gen2phy object, the output of "physical2genomic" function. |
keep_homo |
Optional: if TRUE only homozygous paretnal loci will be keept, otherwise the output will have homozygous and heterozygous parental loci |
A structured output of:
genotypes: the parental genotypes of SNPs.
gen2phy: the genetic loci of the SNPs
parental_genotypes = get_parental_genotypes('three_genotypes_snps.vcf',gen2phy,TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.