View source: R/create_marker_set.R
create_marker_set | R Documentation |
The function creates marker sub sets from genotype object of N number of random marker with a certain allele frequency cutoff.
create_marker_set(genotypes,N,MAF,input_geno_file,pheno,geno,biased_selection,gen2phy,parental_genotypes)
genotypes |
Required: input genotype object |
N |
Optional: number of markers to be selected randomly |
MAF |
Optional: minor allels frequency cutoff |
no_qtn |
Optional: a list of qtn to be excluded from the selected markers |
biased_selection |
optional: if TRUE, the randomly selected QTNs are biased to gene denesity regions |
gen2phy |
optinal: gen2phy object to calculate biased_selection |
parental_genotypes |
Required: parental_genotypes object |
a genotype object of two datasets; genotypes and gen2phy
ms1 = create_marker_set(genotypes=genotypes,N=6,MAF=0.2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.