Description Usage Arguments Value
The fonction create a SNP data set structured by genes with genotypes coded by 1, 2 and 3.
1 2 3 |
N |
integer; number of individuals. |
corr |
numeric value between 0 and 1. Correlation level among the SNPs within each gene. |
sizeGenesMain |
a vector of integers specifying the sizes of the genes having main effects. |
sizeGenesPair |
a vector of integers specifying the sizes of the genes having interaction effects. The size of the vector has to be an even number, pairs being defined with the gene taken two by two along the vector. |
sizeGenesRemain |
a vector of integers specifying the sizes of the genes having none effects. |
SameMainPair |
logical. If TRUE, genes with interation effects will also have main effects |
MAFcausalSNP |
MAF value for causal SNPs |
causalSNPnb |
integer. number of SNP in each gene to considered as causal |
causalSNPportion |
value between 0 and 1. Portion of SNP in each gene to considered as causal (if causalSNPnb is NULL). |
AllMainPair |
logical. If FALSE, only the first gene of each interaction pair will have a main effect. SameMainPair has to be TRUE. |
minMAF |
minimum value of the Minor Allele Frequency. Default 0.05. |
maxMAF |
maximum value of the Minor Allele Frequency. Default 0.5. |
Returns a list including:
X |
a matrix where columns are SNPs and rows are individuals. |
listGenesSNP |
a list that indicate the names of the SNPs composing each gene. |
MainEff |
a vector containing the names of genes having main effects. |
GenePair |
a vector containing the names of genes having interaction effects. |
MAF |
a vector that give the minor allele frequency observed for each simulated SNP. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.