Skip to content

Commit

Permalink
cc
Browse files Browse the repository at this point in the history
  • Loading branch information
pipaber committed Apr 30, 2024
1 parent 32a26c6 commit 92b8265
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions _freeze/notebooks/TCGA/execute-results/html.json

Large diffs are not rendered by default.

8 changes: 6 additions & 2 deletions notebooks/TCGA.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ library(MultiAssayExperiment)
```


## Download the Data

To download the data we need to use `curatedTCGAData`function. The first argument is a four letter disease (cancer) code (A complete list of disease codes used by the TCGA project are available on the [NCI Genomic Data Commons website](https://gdc.cancer.gov/resources-tcga-users/tcga-code-tables/tcga-study-abbreviations)), the second argument is a vector of data types we want to download. We need to specify `dry.run = FALSE` to download the data.
Expand Down Expand Up @@ -222,6 +221,8 @@ We can visualize the most common mutated genes genes in rectum adenocarcinoma

```{r}
#| label: fig-genesmut
#| message: false
#| warning: false
p <- var_class_df |>
as_tibble() |>
Expand All @@ -239,8 +240,11 @@ p <- var_class_df |>
labs(x = "Samples with specific mutation", y="Gene Symbol", fill="Variant Class",
title="Top 20 Samples with READ")
ggsave("")
path <- "images/"
ggsave(paste0(path,"samples_with_mut.jpeg"), device = "jpeg")
```

![Samples with specific mutation per gene](images/samples_with_mut.jpeg)
Binary file added notebooks/images/samples_with_mut.jpeg
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 92b8265

Please sign in to comment.