Skip to content

Commit

Permalink
clean up readme
Browse files Browse the repository at this point in the history
  • Loading branch information
lpantano committed Apr 16, 2024
1 parent 06c9d4f commit b378d8d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 45 deletions.
26 changes: 3 additions & 23 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,13 @@
output: github_document
---

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

# bcbioR

<!-- badges: start -->
[![R-CMD-check](https://github.com/bcbio/bcbioR/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/bcbio/bcbioR/actions/workflows/R-CMD-check.yaml)
<!-- badges: end -->

The goal of bcbioR is to ...
The goal of bcbioR is to create guidelines for NGS data interpretation based on the experience of the Harvard Chan Bioinformatics Core and everybody who wants to contribute.

## Installation

Expand All @@ -30,25 +21,14 @@ devtools::install_github("bcbio/bcbioR")

## Example

This is a basic example which shows you how to solve a common problem:

```{r example}
library(bcbioR)
## basic example code
```

What is special about using `README.Rmd` instead of just `README.md`? You can include R chunks like so:

```{r cars}
summary(cars)
```
## How to Contribute

You'll still need to render `README.Rmd` regularly, to keep `README.md` up-to-date. `devtools::build_readme()` is handy for this.

You can also embed plots, for example:

```{r pressure, echo = FALSE}
plot(pressure)
```

In that case, don't forget to commit and push the resulting figure files, so they display on GitHub and CRAN.
Don't forget to commit and push the resulting figure files, so they display on GitHub and CRAN.
28 changes: 6 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
[![R-CMD-check](https://github.com/bcbio/bcbioR/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/bcbio/bcbioR/actions/workflows/R-CMD-check.yaml)
<!-- badges: end -->

The goal of bcbioR is to …
The goal of bcbioR is to create guidelines for NGS data interpretation
based on the experience of the Harvard Chan Bioinformatics Core and
everybody who wants to contribute.

## Installation

Expand All @@ -20,33 +22,15 @@ devtools::install_github("bcbio/bcbioR")

## Example

This is a basic example which shows you how to solve a common problem:

``` r
library(bcbioR)
## basic example code
```

What is special about using `README.Rmd` instead of just `README.md`?
You can include R chunks like so:

``` r
summary(cars)
#> speed dist
#> Min. : 4.0 Min. : 2.00
#> 1st Qu.:12.0 1st Qu.: 26.00
#> Median :15.0 Median : 36.00
#> Mean :15.4 Mean : 42.98
#> 3rd Qu.:19.0 3rd Qu.: 56.00
#> Max. :25.0 Max. :120.00
```
## How to Contribute

You’ll still need to render `README.Rmd` regularly, to keep `README.md`
up-to-date. `devtools::build_readme()` is handy for this.

You can also embed plots, for example:

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

In that case, don’t forget to commit and push the resulting figure
files, so they display on GitHub and CRAN.
Don’t forget to commit and push the resulting figure files, so they
display on GitHub and CRAN.

0 comments on commit b378d8d

Please sign in to comment.