Docsity

Stats Homework 4 - Differential Expression & Gene Set Testing (Spring 2009) - Prof. John R, Assignments of Statistics

Toggle sidebar
bg1
Statistics 5570/6570 Spring 2009 Homework 4
Expected Completion of Content: 20 Mar 2009
Assignment Due (by 11:59 P.M.): 3 Apr 2009
Directions: The following exercises are to be completed in R, following the instructions
given for homework on the course syllabus. Neatness and format (including appendix) will
contribute 10 points to the score. The main purpose of this assignment is to help students
gain familiarity with several tests for differential expression implemented in Bioconductor,
and to discuss some of the statistical issues involved. The following Bioconductor packages
will be needed: affy,GO.db,AnnotationDbi,mouse4302.db,limma,annaffy,genefilter,
GOstats,globaltest,Rgraphviz, and additional packages that R may automatically re-
quest (like cdf-related packages and package dependencies). See the course notes to get
started with the R code. For these exercises, refer to the GSE5245 data (including the
README file) available on the course website.
1. (a) (6 points) What is the GO identifier for “regulation of T cell activation”?
(b) (5 points) How many genes (unique probe set identifiers) are associated with this
GO term on the mouse4302 array?
(c) (6 points) Perform a specific filter to test only these genes for differential expres-
sion between the antigen exposure level of “none” and the “transient” / “persis-
tent” antigen exposure levels (same treatment groups as in Homework 3). Use
RMA preprocessing and perform the limma/eBayes test. How many of these
genes are significant at the .05 level (after FDR correction)?
(d) (10 points) Create an interactive HTML report file with the following information
for each of these significant genes: probe set identifier, gene symbol, chromosome,
links to relevant PubMed abstracts, gene ontology, KEGG pathways, log fold-
change, and FDR-adjusted P-value. Give a “screen-shot” of the top portion of
this HTML report file (for example, open the report file, hit the PrintScreen
button, and then paste into your homework document).
2. (a) (10 points) In your own words, explain the general idea of gene set testing.
(b) (9 points) Explain briefly why the hypergeometric test of gene set over-representation
is problematic.
(c) (8 points) Explain briefly how the global test of a gene set is different from the
t-statistic-based tests of differential expression we discussed in Unit 3.
3. After performing the same filter as in Exercise 5c of Homework 3, there are 5,962
genes left. Restricting your attention to these 5,962 genes, perform Goeman’s global
test on each of the 730 sets of genes from the cellular component ontology (CC, not
MF), with the clinical outcome defined as an indicator variable of 0 for “none” and 1 for
“transient” or “persistent” antigen exposure (i.e., the same treatment vector used in
the limma/eBayes test in Exercise 1). The following code may be useful in obtaining
this smaller set of GO terms just prior to performing the global test:
pf2

Partial preview of the text

Download Stats Homework 4 - Differential Expression & Gene Set Testing (Spring 2009) - Prof. John R and more Assignments Statistics in PDF only on Docsity!

Statistics 5570/6570 Spring 2009 Homework 4

Expected Completion of Content: 20 Mar 2009 Assignment Due (by 11:59 P.M.): 3 Apr 2009

Directions: The following exercises are to be completed in R, following the instructions given for homework on the course syllabus. Neatness and format (including appendix) will contribute 10 points to the score. The main purpose of this assignment is to help students gain familiarity with several tests for differential expression implemented in Bioconductor, and to discuss some of the statistical issues involved. The following Bioconductor packages will be needed: affy, GO.db, AnnotationDbi, mouse4302.db, limma, annaffy, genefilter, GOstats, globaltest, Rgraphviz, and additional packages that R may automatically re- quest (like cdf-related packages and package dependencies). See the course notes to get started with the R code. For these exercises, refer to the GSE5245 data (including the README file) available on the course website.

  1. (a) (6 points) What is the GO identifier for “regulation of T cell activation”? (b) (5 points) How many genes (unique probe set identifiers) are associated with this GO term on the mouse4302 array? (c) (6 points) Perform a specific filter to test only these genes for differential expres- sion between the antigen exposure level of “none” and the “transient” / “persis- tent” antigen exposure levels (same treatment groups as in Homework 3). Use RMA preprocessing and perform the limma/eBayes test. How many of these genes are significant at the .05 level (after FDR correction)? (d) (10 points) Create an interactive HTML report file with the following information for each of these significant genes: probe set identifier, gene symbol, chromosome, links to relevant PubMed abstracts, gene ontology, KEGG pathways, log fold- change, and FDR-adjusted P-value. Give a “screen-shot” of the top portion of this HTML report file (for example, open the report file, hit the PrintScreen button, and then paste into your homework document).
  2. (a) (10 points) In your own words, explain the general idea of gene set testing. (b) (9 points) Explain briefly why the hypergeometric test of gene set over-representation is problematic. (c) (8 points) Explain briefly how the global test of a gene set is different from the t-statistic-based tests of differential expression we discussed in Unit 3.
  3. After performing the same filter as in Exercise 5c of Homework 3, there are 5, genes left. Restricting your attention to these 5,962 genes, perform Goeman’s global test on each of the 730 sets of genes from the cellular component ontology (CC, not MF), with the clinical outcome defined as an indicator variable of 0 for “none” and 1 for “transient” or “persistent” antigen exposure (i.e., the same treatment vector used in the limma/eBayes test in Exercise 1). The following code may be useful in obtaining this smaller set of GO terms just prior to performing the global test:

G.names <- names(GO.list) G.ontology <- getGOOntology(G.names) t <- G.ontology=="CC" GO.list <- GO.list[t] length(GO.list) ## should be 730

(a) (15 points) Give a histogram of the resulting P-values (there should be 461).

(b) (6 points) What would a small P-value for one of these GO terms mean, in the context of these data? (c) (15 points) Create a directed graph to show the relationships among the top 25 GO terms from the global test on cellular component ontologies (the 25 with the smallest P-value). You will first need to call the GOGraph function. Pass the resulting graph to the interactive.graph function defined in the class Notes 4. to make the graph interactive, with these top 25 GO terms colored yellow, and put the legend in the topleft. Click on the topmost node to show the ID and description (“DNA-directed RNA polymerase I complex.”)