Description Usage Arguments Value Examples
View source: R/all_functions.R
Internal package function for calculating epsitatic correlations in sub-matrices
1 2 | partial_correlations_triangular(genotype_1,genotype_rev_1,phenotype,coords,
glm=F,model=1)
|
genotype_1 |
Dataframe with the genotype information, resulting from the function generate.genotype(). Make sure that the dataframe contains the same individuals as in the phenotype-file, and that those are in the same order. |
genotype_rev_1 |
Same as genotpye but with reversed genotype coding |
phenotype |
Dataframe with the rows correspinding to the individuals in the analysis,and columns for the different measured phenotypes and fixed/random factors. Phenotypes should be continous variables. |
coords |
Matrix of row split coordinates for subseting input space |
glm |
setting controlling if is a lm or glm |
model |
Specification controlling if MM or Mm directed interaction model is used. |
Epsitatic correlations and P-values for the selected set or subset of the data
1 2 | partial_correlations <- partial_correlaiton_triangular(genotype_1,genotype_rev_1,
phenotype,coords,model)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.