Skip to content

Commit a04149c

Browse files
committed
working on new chapter
1 parent 8ffc547 commit a04149c

File tree

2 files changed

+60
-0
lines changed

2 files changed

+60
-0
lines changed

isoform-assignment.Rmd

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Isoform assignment
2+
3+
Objective: explore consequences of how features are located when data
4+
is summarized at gene level.
5+
6+
The *macrophage* package provides Salmon quantification files for a
7+
set of 24 RNA-seq samples from @Alasoo2018, "Shared genetic effects
8+
on chromatin and gene expression indicate a role for enhancer priming in
9+
immune response". Data for six female human donors is available in the
10+
package, with gene expression at baseline, after IFN-gamma stimulation,
11+
after exposure to *Salmonella*, and after a combination of the two
12+
treatments.
13+
14+
```{r message=FALSE}
15+
library(macrophage)
16+
library(dplyr)
17+
library(tximeta)
18+
dir <- system.file("extdata", package="macrophage")
19+
coldata <- read.csv(file.path(dir, "coldata.csv")) %>%
20+
mutate(files = file.path(dir, "quants", names, "quant.sf.gz"),
21+
condition = factor(condition_name),
22+
condition = relevel(condition, "naive")) %>%
23+
select(files, names=sample_id, condition, line_id)
24+
se <- tximeta(coldata, dropInfReps=TRUE)
25+
```
26+
27+
```{r message=FALSE}
28+
library(SummarizedExperiment)
29+
rowRanges(se)
30+
seqinfo(se)
31+
```
32+
33+
```{r}
34+
gse <- summarizeToGene(se)
35+
```

references.bib

+25
Original file line numberDiff line numberDiff line change
@@ -225,3 +225,28 @@ @article{rainer2019
225225
url = {https://doi.org/10.1093/bioinformatics/btz031},
226226
eprint = {https://academic.oup.com/bioinformatics/article-pdf/35/17/3151/29592004/btz031.pdf},
227227
}
228+
229+
@Article{Alasoo2018,
230+
author={Alasoo, Kaur
231+
and Rodrigues, Julia
232+
and Mukhopadhyay, Subhankar
233+
and Knights, Andrew J.
234+
and Mann, Alice L.
235+
and Kundu, Kousik
236+
and Hale, Christine
237+
and Dougan, Gordon
238+
and Gaffney, Daniel J.
239+
and Consortium, H. I. P. S. C. I.},
240+
title={Shared genetic effects on chromatin and gene expression indicate a role for enhancer priming in immune response},
241+
journal={Nature Genetics},
242+
year={2018},
243+
month={Mar},
244+
day={01},
245+
volume={50},
246+
number={3},
247+
pages={424-431},
248+
issn={1546-1718},
249+
doi={10.1038/s41588-018-0046-7},
250+
url={https://doi.org/10.1038/s41588-018-0046-7}
251+
}
252+

0 commit comments

Comments
 (0)