1 | 1 |
deleted file mode 100644 |
... | ... |
@@ -1,49 +0,0 @@ |
1 |
-title: "Test plots for Rgraphviz" |
|
2 |
-author: "Kasper D. Hansen" |
|
3 |
-date: "`r doc_date()`" |
|
4 |
-package: "`r pkg_ver('BiocStyle')`" |
|
5 |
-abstract: > |
|
6 |
- Test |
|
7 |
-vignette: > |
|
8 |
- %\VignetteIndexEntry{Bioconductor style for HTML documents} |
|
9 |
- %\VignetteEngine{knitr::rmarkdown} |
|
10 |
- %\VignetteEncoding{UTF-8} |
|
11 |
-output: |
|
12 |
- BiocStyle::html_document |
|
13 |
- |
|
14 |
-# Introduction |
|
15 |
- |
|
16 |
-This vignette is intended for testing purposes for the `r Biocpkg("Rgraphviz")` package. Unfortunately, we still do not have a great way to test graphics output. |
|
17 |
- |
|
18 |
-```{r library} |
|
19 |
-library(Rgraphviz) |
|
20 |
-``` |
|
21 |
- |
|
22 |
-# Test cases |
|
23 |
- |
|
24 |
-## Example 1 |
|
25 |
- |
|
26 |
-```{r graph1} |
|
27 |
-set.seed(123) |
|
28 |
-V <- letters[1:10] |
|
29 |
-M <- 1:4 |
|
30 |
-g1 <- randomGraph(V, M, 0.2) |
|
31 |
-``` |
|
32 |
- |
|
33 |
-```{r plo1,plot=TRUE} |
|
34 |
-nodes(g1) <- paste0(nodes(g1), "\nX") |
|
35 |
-plot(g1) |
|
36 |
-``` |
|
37 |
- |
|
38 |
-**Result:** The text in each node should be on two lines; the second line should be "X". |
|
39 |
- |
|
40 |
-# Session info |
|
41 |
- |
|
42 |
-Here is the output of `sessionInfo()` on the system on which this |
|
43 |
-document was compiled: |
|
44 |
- |
|
45 |
-```{r sessionInfo, echo=FALSE} |
|
46 |
-sessionInfo() |
|
47 |
-``` |