Skip to content

Commit

Permalink
removed msn section from mlg vignette
Browse files Browse the repository at this point in the history
This was throwing a warning that I couldn't track
down and It's not terribly informative.
  • Loading branch information
zkamvar committed Jun 8, 2016
1 parent 2ce1103 commit 81b1b50
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 48 deletions.
30 changes: 1 addition & 29 deletions cran-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

* local OS X install, R 3.3.0
* ubuntu 12.04 (on travis-ci), devel [2016-06-08 r70732] and R 3.3.0
* win-builder (devel [2016-06-06 r70718] and release [3.2.4])
* win-builder (devel [2016-06-08 r70728])

## R CMD check results

Expand All @@ -19,34 +19,6 @@ Found the following (possibly) invalid URLs:
Message: Unauthorized
```

### WARNING on win-builder devel:

```
* checking re-building of vignette outputs ... WARNING
Error in re-building vignettes:
...
Loading required package: adegenet
Loading required package: ade4
/// adegenet 2.0.1 is loaded ////////////
> overview: '?adegenet'
> tutorials/doc/questions: 'adegenetWeb()'
> bug reports/feature requests: adegenetIssues()
This is poppr version 2.1.1.99.67. To get started, type package?poppr
OMP parallel support: available
This version of poppr is under development.
If you find any bugs, please report them at https://github.com/grunwaldlab/poppr/issues
Loading required package: ape
Quitting from lines 287-295 (mlg.Rmd)
Error: processing vignette 'mlg.Rmd' failed with diagnostics:
invalid gray level, must be in [0,1].
Execution halted
```

This is indeed a valid URL

## Downstream dependencies
Expand Down
19 changes: 0 additions & 19 deletions vignettes/mlg.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -278,25 +278,6 @@ Notice that all the MLGs are the same as the originally defined MLGs. Using a
threshold of zero allows two MLGs separated by zero genetic distance to remain
mutually unique.

### Minimum spanning networks

Now we have all of our MLLs collapsed together, but perhaps a better way to
visualize it would be to use `poppr.msn()`:

```{r}
# Threshold of 1
set.seed(9001)
g1 <- poppr.msn(x, xdis, threshold = 1, include.ties = TRUE,
vertex.label.color = "firebrick", vertex.label.font = 2)
# Threshold of 1 + e
set.seed(9001)
g2 <- poppr.msn(x, xdis, threshold = 1 + e, include.ties = TRUE,
vertex.label.color = "firebrick", vertex.label.font = 2)
```

Notice how the genotypes collapse into a single node. Both `poppr.msn()` and
`bruvo.msn()` will calculate and plot these minimum spanning networks.

### Setting the genotypes

As demonstrated at the beginning of this section, if we wanted to reassign our
Expand Down

0 comments on commit 81b1b50

Please sign in to comment.