Skip to content

Commit

Permalink
update pkgdown
Browse files Browse the repository at this point in the history
  • Loading branch information
Zilong-Li committed May 23, 2024
1 parent 76f9a62 commit be05142
Show file tree
Hide file tree
Showing 9 changed files with 40 additions and 78 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ rd:
Rscript -e 'roxygen2::roxygenise(".")'

readme:
Rscript -e 'rmarkdown::render("README.Rmd")'
Rscript -e 'pkgdown::build_site()'
Rscript -e 'pkgdown::build_articles()'
Rscript -e 'rmarkdown::render("README.Rmd")'

readme2:
Rscript -e 'rmarkdown::render("README.Rmd", "html_document")'
Expand Down
10 changes: 1 addition & 9 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,6 @@ par(mar=c(5,5,2,2), cex.lab = 2)
vcfplot(res, col = 2,cex = 2, lwd = 3, type = "b")
```

```r
res <- vcfcomp(test = rawvcf, truth = phasedvcf,
stats = "f1", region = "chr21:5100000-6000000",
by.sample = T)
par(mar=c(5,5,2,2), cex.lab = 2)
vcfplot(res, cex = 2, lwd = 3, type = "b", which.sample = 1:3)
```

```{r pse}
res <- vcfcomp(test = rawvcf, truth = phasedvcf,
stats = "pse",
Expand All @@ -120,7 +112,7 @@ Want to summarize variants discovered by genotype caller e.g. GATK? `vcfsummary`

```{r summary_sm}
res <- vcfsummary(rawvcf,"chr21:10000000-10010000")
vcfplot(res, pop = popfile, col = 1:5, main = "Number of SNP & INDEL variants per population")
vcfplot(res, pop = popfile, col = 1:5, main = "Number of SNP & INDEL variants")
```

**Complex structure variants**
Expand Down
10 changes: 1 addition & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,14 +104,6 @@ vcfplot(res, col = 2,cex = 2, lwd = 3, type = "b")

<img src="man/figures/README-r2-1.png" width="100%" />

``` r
res <- vcfcomp(test = rawvcf, truth = phasedvcf,
stats = "f1", region = "chr21:5100000-6000000",
by.sample = T)
par(mar=c(5,5,2,2), cex.lab = 2)
vcfplot(res, cex = 2, lwd = 3, type = "b", which.sample = 1:3)
```

``` r
res <- vcfcomp(test = rawvcf, truth = phasedvcf,
stats = "pse",
Expand All @@ -136,7 +128,7 @@ Want to summarize variants discovered by genotype caller e.g. GATK?

``` r
res <- vcfsummary(rawvcf,"chr21:10000000-10010000")
vcfplot(res, pop = popfile, col = 1:5, main = "Number of SNP & INDEL variants per population")
vcfplot(res, pop = popfile, col = 1:5, main = "Number of SNP & INDEL variants")
```

<img src="man/figures/README-summary_sm-1.png" width="100%" />
Expand Down
92 changes: 35 additions & 57 deletions docs/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ pkgdown: 2.0.9
pkgdown_sha: ~
articles:
concordance-of-two-vcf-files: concordance-of-two-vcf-files.html
last_built: 2024-05-22T16:52Z
last_built: 2024-05-23T15:50Z

Binary file added docs/reference/figures/README-dp-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 docs/reference/figures/README-summary_sm-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/search.json

Large diffs are not rendered by default.

Binary file modified man/figures/README-summary_sm-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 be05142

Please sign in to comment.