Description Usage Arguments Value Examples
Convert return of functions in sitePath
package to a
data.frame
so can be better worked with. The group name for
each tip is the same as groupTips
.
A fixationSites
object will output the mutation
name of the fixation and the cluster name before and after the mutation.
An SNPsites
object will output the tip name with
the SNP and its position.
An parallelSites
object will output the tip name
with the group name and mutation info.
1 2 3 4 5 6 7 8 | ## S3 method for class 'fixationSites'
as.data.frame(x, row.names = NULL, optional = FALSE, ...)
## S3 method for class 'SNPsites'
as.data.frame(x, row.names = NULL, optional = FALSE, ...)
## S3 method for class 'parallelSites'
as.data.frame(x, row.names = NULL, optional = FALSE, ...)
|
x |
The object to be converted to |
row.names |
Unimplemented. |
optional |
Unimplemented. |
... |
Other arguments. |
A data.frame
object.
1 2 3 4 5 | data(zikv_tree_reduced)
data(zikv_align_reduced)
tree <- addMSA(zikv_tree_reduced, alignment = zikv_align_reduced)
fixations <- fixationSites(lineagePath(tree))
as.data.frame(fixations)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.