Learn R Programming

Tropical Data Analysis Tools

Algorithms of tropical support vector machine and principals component analysis defined in tropical projective spaces.

Installation

This package can be installed directly from Github by running

devtools::install_github("HoujieWang/Rtropical")

Usage

Please check the vignette for a breif example.

Reference

Tang, X., Wang, H. & Yoshida, R. Tropical Support Vector Machine and its Applications to Phylogenomics https://arxiv.org/abs/2003.00677

Page, R., Yoshida, R. & Zhang L. Tropical Principal Component Analysis on the Space of Phylogenetic Trees. J. Bioinform., Volume 36, Issue 17, 4590–4598 (2020). https://doi.org/10.1093/bioinformatics/btaa564

Yoshida, R., Zhang, L. & Zhang, X. Tropical Principal Component Analysis and Its Application to Phylogenetics. Bull Math Biol 81, 568–597 (2019). https://doi.org/10.1007/s11538-018-0493-4

Copy Link

Version

Install

install.packages('Rtropical')

Monthly Downloads

209

Version

1.2.1

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Houjie Wang

Last Published

November 9th, 2021

Functions in Rtropical (1.2.1)

as.vector.phylo

Vectorize a Phylogenetic Tree
apicomplexa

Apicomplexa gene trees sample data set.
as.matrix.multiPhylo

Vectorize a Set of Phylognetic Trees
dets

Tropical Determinants for Small Matrices
linsp_to_poly

Convert Tropical Linear Space to Convex Hull
all_trees

Simulated Tree Data with Different Proximity Parameter Value
coef.cv.tropsvm

Extract Optimal Tropical Hyperplane from a cv.tropsvm object
tropFW

Tropical Fermat-Weber Point
summary.cv.tropsvm

Summarize an Analysis of Cross-Validated Tropical Support Vector Machine
assignment_finder

Efficient Finder of Best Assignment
lungfish

Coelacanths genome and transcriptome data
troppca.linsp2poly

Tropical Principal Component Analysis by Polytope Converted from Linear Space
polytope_iso

Dimension Reduction by Isometry
tropsvm

Tropical Support Vector Machines
troppca.poly

Tropical Principal Component Analysis by Tropical Polytope
plot.troppca

Plot the Tropical Principal Components with Data Projections
tropproj.linsp

Projection on Tropical Linear Space
tropsvm_helper

Helper for cv.tropsvm
troppca.obj

Compute Tropical PCA Objective
read.nexus.to.data.matrix

Read NEXUS-formatted trees from two categories into a data matrix
troppca.linsp

Tropical Principal Component Analysis by Tropical Linear Space
cv.tropsvm

Cross-Validation for Tropical Support Vector Machines
predict.tropsvm

Predict Method for Tropical Support Vector Machines
tropdet

Tropical Determinant of a Matrix
coef.tropsvm

Extract Optimal Tropical Hyperplane from a tropsvm object
predict.cv.tropsvm

Predict Method for Tropical Support Vector Machines based on Cross-Validation
tropproj.poly

Projection on Tropical Polytope
sim_trees

Simulated Tree Data
read.tree.to.data.matrix

Read Newick-formatted trees in two categories into a data matrix
tropseg

Compute Tropical Line Segment