Skip to content

Commit

Permalink
fix mouse104
Browse files Browse the repository at this point in the history
  • Loading branch information
cstubben committed Aug 24, 2021
1 parent 24a2601 commit 9d2d058
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,19 @@ listed below.
```r
library(hciR)
samples <- read_tsv("samples.txt")
samples$trt <- factor(samples$trt, levels = c("WT", "OE", "KO"))
counts <- read_tsv("counts.txt")
counts <- filter_counts(counts, n = 5)
dds <- deseq_from_tibble(counts, samples, design = ~ trt)
rld <- r_log(dds)
plot_pca(rld, "trt", tooltip= c("id", "name"))
plot_pca(rld, "trt", tooltip= c("id", "name"))
plot_dist(rld, "trt", na_col="white")
library(hciRdata)
res <- results_all(dds, mouse98)
res <- results_all(dds, mouse104)
plot_volcano(res[[1]])
x <- top_counts(res[[1]], rld, top=40)
plot_genes(x, "trt", scale ="row", annotation_names_col=FALSE)
write_deseq(res, dds, rld, mouse98)
write_deseq(res, dds, rld, mouse104)
```


Expand Down

0 comments on commit 9d2d058

Please sign in to comment.