Description Usage Arguments Value Author(s) Examples
Obtain expected number of substitutions of each type on each branch
1 |
x |
An object of type |
tm |
An object of type |
An array giving the expected number of substitutions on each branch, for each type of substitution.
Melissa J. Hubisz and Adam Siepel
1 2 3 4 5 6 7 8 9 | exampleArchive <- system.file("extdata", "examples.zip", package="rphast")
unzip(exampleArchive, "ENr334-100k.maf")
m <- read.msa("ENr334-100k.maf")
mod <- phyloFit(m, tree="((hg18,(mm9,rn4)),canFam2)")
x <- total.expected.subs.msa(sub.msa(m, start.col=41447839, end.col=41448033, refseq="hg18"), mod)
dim(x)
dimnames(x)
x["mm9-rn4",,]
unlink("ENr334-100k.maf")
|
Extracting sufficient statistics ...
Compacting sufficient statistics ...
Fitting tree model to alignment using REV ...
numpar = 11
Done. log(likelihood) = -238483.838367 numeval=332
[1] 6 4 4
[[1]]
[1] "hg18-mm9" "hg18" "mm9-rn4" "mm9" "rn4" "canFam2"
[[2]]
[1] "from.A" "from.C" "from.G" "from.T"
[[3]]
[1] "to.A" "to.C" "to.G" "to.T"
to.A to.C to.G to.T
from.A 38.813358 3.487672 1.0370545 2.701512
from.C 2.690418 74.424677 0.4165913 6.435992
from.G 5.246924 3.126923 39.9781609 2.109085
from.T 2.328609 2.650553 1.2303032 45.322169
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.