View source: R/Differential_introgression.R
Differential_introgression | R Documentation |
Peroform differential introgression analysis
Differential_introgression(
Data,
H.id,
S0.id,
S1.id,
n.ind,
permutations,
ploidy
)
Data |
Object produced by the PrepareData function |
H.id |
Character, the label for the hybrid population. |
S0.id |
Character, the label for the S0 parental population. |
S1.id |
Character, the label for the S1 parental population. |
n.ind |
Numeric, the number of individuals in your data file. |
permutations |
Numeric, number of permutations to use in significance testing. |
ploidy |
Numeric, ploidy of markers in the Data object. |
A p-value for each SNP representing the proportion of permutations that possessed a greater proportion of S1 alleles in permuted hybrids than the empirical data.
## Not run: DI_test <- Differential_introgression(Data, H.id = 'H', S0.id = 'P',
S1.id = 'K', n.ind = 73, permutations = 1000, ploidy = 2)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.