Skip to content

Commit

Permalink
docs: allow memory vignette to be built
Browse files Browse the repository at this point in the history
  • Loading branch information
kelly-sovacool committed Oct 8, 2024
1 parent 1f5adec commit 7af5758
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
1 change: 0 additions & 1 deletion .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,5 @@
^data-raw$
^Dockerfile$
^CITATION\.cff$
^vignettes/memory\.Rmd$
^doc$
^Meta$
Binary file added inst/extdata/LIHC_HTseqCounts.txt.gz
Binary file not shown.
Binary file added inst/extdata/LIHC_PatientData.txt.gz
Binary file not shown.
13 changes: 9 additions & 4 deletions vignettes/memory.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,21 @@ library(dplyr)
library(ggplot2)
library(glue)
library(readr)
# library(reneeTools)
devtools::load_all()
library(reneeTools)
```

Dataset from: <https://portal.gdc.cancer.gov/projects/TCGA-LIHC>

```{r data}
counts <- read_tsv("~/Downloads/LIHC_HTseqCounts.txt") %>%
counts <- read_tsv(system.file(
"extdata", "LIHC_HTseqCounts.txt.gz",
package = "reneeTools"
)) %>%
rename(gene_id = Gene)
metadat <- read_tsv("~/Downloads/LIHC_PatientData.txt") %>%
metadat <- read_tsv(system.file(
"extdata", "LIHC_PatientData.txt.gz",
package = "reneeTools"
)) %>%
select(-sample_id) %>%
rename(sample_id = barcode)
renee_ds <- create_reneeDataSet_from_dataframes(metadat, counts) %>%
Expand Down

0 comments on commit 7af5758

Please sign in to comment.