Skip to content

Commit

Permalink
change plotting order
Browse files Browse the repository at this point in the history
  • Loading branch information
wabarr committed Sep 18, 2017
1 parent 140bc7f commit 385b321
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion R/ggphylomorpho.R
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ ggphylomorpho <- function(tree,

theplot <-
ggplot() +
geom_text(data=pointsForPlot, aes(x=x, y=y, label=label)) +
geom_segment(data=edgecoords,aes(x=x.x,xend=x.y, y=y.x, yend=y.y)) +
geom_point(data=pointsForPlot, aes(x=x, y=y, color=color), size=5) +
geom_text(data=pointsForPlot, aes(x=x, y=y, label=label)) +
labs(title=title, x=xlab, y=ylab) +
theme_bw(20) +
theme(legend.position='bottom')
Expand Down
18 changes: 9 additions & 9 deletions readme.html

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ head(sampleData$DF)
```

```
## PC1 PC2 taxon group
## A -2.060427 -0.05738028 A group1
## B -6.042691 1.95309070 B group2
## C -5.498482 1.97479700 C group1
## D -6.020761 2.25013877 D group2
## E -3.637639 -0.01376266 E group1
## F -1.705474 2.83344660 F group2
## PC1 PC2 taxon group
## A -2.97831839 2.67580286 A group1
## B -0.18117859 -1.14645602 B group2
## C -0.69258460 -2.32020109 C group1
## D -0.40664199 0.09467764 D group2
## E -0.01512143 1.23078740 E group1
## F 0.93301701 0.65321188 F group2
```

## check out the documentation for the function
Expand Down
Binary file modified readme_files/figure-html/unnamed-chunk-1-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified readme_files/figure-html/unnamed-chunk-3-1.png
Loading
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 385b321

Please sign in to comment.