Skip to content

Commit

Permalink
Creating a README.Rmd
Browse files Browse the repository at this point in the history
  • Loading branch information
Venelin Mitov committed Oct 22, 2019
1 parent d4d14ab commit bf2200d
Show file tree
Hide file tree
Showing 4 changed files with 83 additions and 0 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
@@ -1,3 +1,4 @@
^.*\.Rproj$
^\.Rproj\.user$
^\.travis\.yml$
^README\.Rmd$
41 changes: 41 additions & 0 deletions README.Rmd
@@ -0,0 +1,41 @@
---
output: github_document
---

<!-- README.md is generated from README.Rmd. Please edit that file -->

```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# PCMView

<!-- badges: start -->
[![Travis build status](https://travis-ci.com/venelin/PCMView.svg?branch=master)](https://travis-ci.com/venelin/PCMView)
<!-- badges: end -->

The goal of PCMView is to provide visualization functions for various objects generated with the R-packages PCMBase and PCMFit.

## Installation

You can install the development version from [GitHub](https://github.com/) with:

``` r
# install.packages("devtools")
devtools::install_github("venelin/PCMView")
```
## Example

Here is how to plot the search path from a recurisive clade partition run:

```{r PlotRCPHistory, warning=FALSE}
library(PCMView)
lstPlots <- PlotRCPHistory(
fitBMWithShiftsToMammalData, layout = "fan")
cowplot::plot_grid(plotlist = lstPlots[!sapply(lstPlots, is.null)])
```
41 changes: 41 additions & 0 deletions README.md
@@ -0,0 +1,41 @@

<!-- README.md is generated from README.Rmd. Please edit that file -->

# PCMView

<!-- badges: start -->

[![Travis build
status](https://travis-ci.com/venelin/PCMView.svg?branch=master)](https://travis-ci.com/venelin/PCMView)
<!-- badges: end -->

The goal of PCMView is to provide visualization functions for various
objects generated with the R-packages PCMBase and PCMFit.

## Installation

You can install the development version from
[GitHub](https://github.com/) with:

``` r
# install.packages("devtools")
devtools::install_github("venelin/PCMView")
```

## Example

Here is how to plot the search path from a recurisive clade partition
run:

``` r
library(PCMView)
#> Registered S3 method overwritten by 'treeio':
#> method from
#> root.phylo ape

lstPlots <- PlotRCPHistory(
fitBMWithShiftsToMammalData, layout = "fan")
cowplot::plot_grid(plotlist = lstPlots[!sapply(lstPlots, is.null)])
```

<img src="man/figures/README-PlotRCPHistory-1.png" width="100%" />
Binary file added man/figures/README-PlotRCPHistory-1.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit bf2200d

Please sign in to comment.