Description Usage Arguments Details Value Author(s) See Also Examples
Given a set of genotypes such as single nucleotide polymorphisms (SNPs) or single amino acid polymorphisms (SAAPs) for a set of N individuals, the procedure can operate in two modes:
1) it computes a NxN kinship matrix (matrix populated with pairwise distances (Hamming) between each two individuals computed using all the genotypes). Based on the kinship matrix it then estimates the degree of phlyogenetic bias related to each genotype as 1-mean.phylo.dist(allele)/mean.phylo.dist(all)
2) it uses a precomputed kinship matrix and then estimates the degree of phlyogenetic bias related to each genotype using the same procedure.
1 | runPhyloBiasCheck(input.kinship.matrix, genotype)
|
genotype |
Character matrix/data frame or a vector, containing SNPs/SAAPs as columns or alternatively as DNAMultipleAlignment or AAMultipleAlignment Biostrings object. |
input.kinship.matrix |
precomputed kinship matrix provided by the user. |
Input:
genotype P genotypes of N individuals in the form of NxP character matrix/data frame or vector (if P = 1).
input.kinship.matrix precomputed NxN matrix (row/column for each individual)
Genotype parameters:
site |
id of the site (e.g. position in the provided sequence alignment) |
genotype |
allele of a SNP or amino acid of SAAP |
bias |
number between 0 (no bias) or 1 (complete bias) |
Mutation bias:
site |
id of the site (e.g. position in the provided sequence alignment) |
mutation |
allele of a SNP or amino acid of SAAP |
bias |
number between 0 (no bias) or 1 (complete bias) for the mutation computed as max(bias in genotype 1, bias in genotype 2) |
Kinship matrix:
kinship.matrix |
NxN matrix |
Simo Kitanovski <simo.kitanovski@uni-due.de>
runDiagnostics, runGenphen
1 2 3 4 5 6 7 8 | # genotype inputs:
data(genotype.saap)
# phenotype inputs:
data(phenotype.saap)
# phylogenetic bias analysis
bias <- runPhyloBiasCheck(input.kinship.matrix = NULL,
genotype = genotype.saap)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.