Skip to content

Commit

Permalink
Documentation changes for CRAN compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
iblacksand committed Jun 13, 2024
1 parent 5a2cede commit ff78e79
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 16 deletions.
3 changes: 3 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@
^_pkgdown\.yml$
^docs$
^pkgdown$
^\.github$
^man\\figures\.gitkeep$
^man/figures/\.gitkeep$
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ Package: clinicalomicsdbR
Title: Interface with the ClinicalOmicsDB API, Allowing for Easy Data Downloading and Importing
Version: 1.0.4
Authors@R:
person("John", "Elizarraras", , "john.elizarraras@bcm.edu", role = c("aut", "cre"))
person("John", "Elizarraras", , "john.elizarraras@bcm.edu", role = c("aut", "cre", "ctb"))
Description: Provides an interface to the ClinicalOmicsDB API, allowing for easy data downloading and importing. ClinicalOmicsDB is a database of clinical and omics data from cancer patients. The database is accessible at <http://trials.linkedomics.org>.
License: MIT + file LICENSE
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.2.3
Imports: httr2, R6, dplyr, utils, jsonlite
BugReports: https://github.com/bzhanglab/clinicalomicsdbR/issues/new
14 changes: 6 additions & 8 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ Designed with the structure from https://r-pkgs.org/.

## Installation

To install the latest stable release, run

``` r
install.packages("clinicalomicsdbR")
```

You can install the development version of clinicalomicsdbR from [GitHub](https://github.com/) with:

``` r
Expand Down Expand Up @@ -86,11 +92,3 @@ for (study in res[["study_list"]]) {
print(ncol(res[["df"]][[study]]))
}
```

<!-- ```{r example} -->
<!-- library(clinicalomicsdbR) -->
<!-- ## basic filtering -->

<!-- clinicalomicsdbR$new()$filter(drugs=c("paclitaxel"))$study_list[[1]] -->
<!-- ``` -->

14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ Designed with the structure from <https://r-pkgs.org/>.

## Installation

To install the latest stable release, run

``` r
install.packages("clinicalomicsdbR")
```

You can install the development version of clinicalomicsdbR from
[GitHub](https://github.com/) with:

Expand Down Expand Up @@ -48,7 +54,7 @@ See Examples below to see how to use.
`df` that contains a list of the study data information.
- `dataframe_from_id(study_id)` - loads a study with id from `study_id`
into a dataframe
- `downlaod_from_id(study_id, output_dir)` - downloads a study with id
- `downlaod_from_id(study_id, output_dir)` - downsloads a study with id
from `study_id` into a folder `output_dir`. `output_dir` defaults to
`clindb`

Expand Down Expand Up @@ -100,9 +106,3 @@ for (study in res[["study_list"]]) {
#> [1] 17145
#> [1] 20321
```

<!-- ```{r example} -->
<!-- library(clinicalomicsdbR) -->
<!-- ## basic filtering -->
<!-- clinicalomicsdbR$new()$filter(drugs=c("paclitaxel"))$study_list[[1]] -->
<!-- ``` -->

0 comments on commit ff78e79

Please sign in to comment.