# Group assignment: Bioinformatics and Systems Biology: Expression, Regulation and Networks  
#### Zenzi Renard & Manon Doumont

Group assignment: Bioinformatics and Systems Biology: Expression, Regulation and Networks

Zenzi Renard & Manon Doumont

 
### Transcription profiling of human blood taken from individuals fed an antioxidant-rich diet or a diet containing kiwi-fruit to evaluate the effect on gene expression with emphasis on stress and repair related processes
​
### Characterization of genome-wide transcriptional changes in liver and adipose tissues of ZDF (fa/fa) rats fed R-α-lipoic acid by next-generation sequencing
​
The following articles and datasets were used for analysis: 
##### Article 1: https://bmcmedicine.biomedcentral.com/articles/10.1186/1741-7015-8-54 
##### Dataset 1: http://www.ebi.ac.uk/arrayexpress/experiments/E-MEXP-2030/
##### Article 2: http://physiolgenomics.physiology.org/content/45/23/1136
##### Dataset 2: https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE50424

Characterization of genome-wide transcriptional changes in liver and adipose tissues of ZDF (fa/fa) rats fed R-α-lipoic acid by next-generation sequencing

The following articles and datasets were used for analysis:

Article 1: https://bmcmedicine.biomedcentral.com/articles/10.1186/1741-7015-8-54
Dataset 1: http://www.ebi.ac.uk/arrayexpress/experiments/E-MEXP-2030/
Article 2: http://physiolgenomics.physiology.org/content/45/23/1136
Dataset 2: https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE50424
 
#### Article 1
​
*Description:* 
Plant-based diets rich in fruit and vegetables can prevent development of several chronic age-related diseases such as cancer and cardiovascular diseases. The mechanisms behind this protective effect is not elucidated. We have studied whether a specially designed antioxidant-rich food diet and a kiwi-fruit intervention can affect whole genome expression in human blood cells with emphasis on stress and repair related process.
​
*Organism:* Homo Sapiens
​
*Samples:* 58
​
*Platform:* A-AFFY-44 - Affymetrix GeneChip Human Genome U133 Plus 2.0 [HG-U133_Plus_2]
​
*Experiment type:* Transcription profiling by array - Microarray data analysis

Article 1

Description: Plant-based diets rich in fruit and vegetables can prevent development of several chronic age-related diseases such as cancer and cardiovascular diseases. The mechanisms behind this protective effect is not elucidated. We have studied whether a specially designed antioxidant-rich food diet and a kiwi-fruit intervention can affect whole genome expression in human blood cells with emphasis on stress and repair related process.

Organism: Homo Sapiens

Samples: 58

Platform: A-AFFY-44 - Affymetrix GeneChip Human Genome U133 Plus 2.0 [HG-U133_Plus_2]

Experiment type: Transcription profiling by array - Microarray data analysis

 
#### Article 2
​
*Description:* Lipogenesis is overstimulated by a surplus of dietry fat and carbohydrate which contributes to numerous metabolic diseases which are associated with cardiovascular diseases. Herein we present an investigation of the regulatory gene networks that support physiological responses of the obese rat to R-α-lipoic acid (LA) , a lipid-lowering bioactive antioxidant food compound, by characterizing transcriptomic changes across lipogenic tissues.
​
*Organism:* Rattus norvegicus
​
*Samples:* 16
​
*Platform:* Illumina Genome Analyzer II
​
*Experiment type:* Expression profiling by high throughput sequencing - Processing RNAseq data

Article 2

Description: Lipogenesis is overstimulated by a surplus of dietry fat and carbohydrate which contributes to numerous metabolic diseases which are associated with cardiovascular diseases. Herein we present an investigation of the regulatory gene networks that support physiological responses of the obese rat to R-α-lipoic acid (LA) , a lipid-lowering bioactive antioxidant food compound, by characterizing transcriptomic changes across lipogenic tissues.

Organism: Rattus norvegicus

Samples: 16

Platform: Illumina Genome Analyzer II

Experiment type: Expression profiling by high throughput sequencing - Processing RNAseq data

 
#### What we will do with our data:
​
* Microarray data analysis
​
* Processing RNAseq data

What we will do with our data:

  • Microarray data analysis

  • Processing RNAseq data

 
​
​
-----------------------------------------------------------------------------------------------------------------------
​
​

 
# Microarray data analysis

Microarray data analysis

 
Microarray data analysis was used to investigate the expression levels of a number of genes involved in regulation of cellular stress defence, such as DNA repair, apoptosis and hypoxia. Gene expression levels will be compared between a control group, a group receiving an anti-oxidant rich food diet and a kiwi-fruit intervention group.

Microarray data analysis was used to investigate the expression levels of a number of genes involved in regulation of cellular stress defence, such as DNA repair, apoptosis and hypoxia. Gene expression levels will be compared between a control group, a group receiving an anti-oxidant rich food diet and a kiwi-fruit intervention group.

 
We use CEL files as the the starting point for preprocessing and analysis of our Affymetrix microarray data. We will read the CEL files into R using the ReadAffy function from the affy package and in this way we produce an Affybatch object. Next we will annotate the samples via the sampleNames method. Eventually we will represent the resulting data as an ExpressionSet object by using the fRMA function. The gene-level intensities that are obtained from the ExpressionSet will be assessed using the exprs() method.

We use CEL files as the the starting point for preprocessing and analysis of our Affymetrix microarray data. We will read the CEL files into R using the ReadAffy function from the affy package and in this way we produce an Affybatch object. Next we will annotate the samples via the sampleNames method. Eventually we will represent the resulting data as an ExpressionSet object by using the fRMA function. The gene-level intensities that are obtained from the ExpressionSet will be assessed using the exprs() method.

 
The Affy package is dowloaded because our data was obtained with A-AFFY-44 - Affymetrix GeneChip Human Genome U133 Plus 2.0 [HG-U133_Plus_2].
​
The Limma package is downloaded for differential experession analysis.

The Affy package is dowloaded because our data was obtained with A-AFFY-44 - Affymetrix GeneChip Human Genome U133 Plus 2.0 [HG-U133_Plus_2].

The Limma package is downloaded for differential experession analysis.

In [7]:
 
library(limma)
library(affy)
Loading required package: BiocGenerics
Loading required package: parallel

Attaching package: ‘BiocGenerics’

The following objects are masked from ‘package:parallel’:

    clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
    clusterExport, clusterMap, parApply, parCapply, parLapply,
    parLapplyLB, parRapply, parSapply, parSapplyLB

The following object is masked from ‘package:limma’:

    plotMA

The following object is masked from ‘package:stats’:

    xtabs

The following objects are masked from ‘package:base’:

    anyDuplicated, append, as.data.frame, as.vector, cbind, colnames,
    do.call, duplicated, eval, evalq, Filter, Find, get, intersect,
    is.unsorted, lapply, Map, mapply, match, mget, order, paste, pmax,
    pmax.int, pmin, pmin.int, Position, rank, rbind, Reduce, rep.int,
    rownames, sapply, setdiff, sort, table, tapply, union, unique,
    unlist, unsplit

Loading required package: Biobase
Welcome to Bioconductor

    Vignettes contain introductory material; view with
    'browseVignettes()'. To cite Bioconductor, see
    'citation("Biobase")', and for packages 'citation("pkgname")'.

 
We will perform wildcard expansion on the file path. We will put all our .CEL files under `CELfiles`.
​
The writers of our paper putted our raw data files in two different files (E-MEXP-2030.raw1 and E-MEXP-2030.raw2). We combined both files under `E-MEXP-2030.raw`.

We will perform wildcard expansion on the file path. We will put all our .CEL files under CELfiles.

The writers of our paper putted our raw data files in two different files (E-MEXP-2030.raw1 and E-MEXP-2030.raw2). We combined both files under E-MEXP-2030.raw.

In [8]:
 
CELfiles = Sys.glob("/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/*.gz")
In [9]:
 
CELfiles
  1. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OAS11-1.CEL.gz'
  2. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OAS11-8.CEL.gz'
  3. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OAS1-1.CEL.gz'
  4. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OAS12-1.CEL.gz'
  5. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OAS12-8.CEL.gz'
  6. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OAS13-1.CEL.gz'
  7. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OAS13-8.CEL.gz'
  8. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OAS15-1.CEL.gz'
  9. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OAS15-8.CEL.gz'
  10. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OAS1-8.CEL.gz'
  11. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OAS23-1.CEL.gz'
  12. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OAS23-8.CEL.gz'
  13. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OAS25-1.CEL.gz'
  14. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OAS25-8.CEL.gz'
  15. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OAS26-1.CEL.gz'
  16. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OAS26-8.CEL.gz'
  17. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OAS30-1.CEL.gz'
  18. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OAS30-8.CEL.gz'
  19. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OAS32-1.CEL.gz'
  20. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OAS32-8.CEL.gz'
  21. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OAS34-1.CEL.gz'
  22. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OAS34-8.CEL.gz'
  23. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OAS37-1.CEL.gz'
  24. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OAS37-8.CEL.gz'
  25. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OAS4-1.CEL.gz'
  26. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OAS4-8.CEL.gz'
  27. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OAS59-1.CEL.gz'
  28. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OAS59-8.CEL.gz'
  29. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OAS61-1.CEL.gz'
  30. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OAS61-8.CEL.gz'
  31. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OAS66-1.CEL.gz'
  32. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OAS66-8.CEL.gz'
  33. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OAS78-1.CEL.gz'
  34. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OAS78-8.CEL.gz'
  35. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OAS85-1.CEL.gz'
  36. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OAS85-8.CEL.gz'
  37. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OAS9-12hyb.CEL.gz'
  38. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OAS92-1.CEL.gz'
  39. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OAS92-8.CEL.gz'
  40. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OAS9-8.CEL.gz'
  41. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OASkiwi18-1.CEL.gz'
  42. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OASkiwi18-8.CEL.gz'
  43. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OASkiwi21-1.CEL.gz'
  44. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OASkiwi21-8.CEL.gz'
  45. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OASkiwi31-1.CEL.gz'
  46. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OASkiwi31-8ver2.CEL.gz'
  47. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OASkiwi3-1.CEL.gz'
  48. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OASkiwi3-8.CEL.gz'
  49. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OASkiwi46-1.CEL.gz'
  50. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OASkiwi46-8.CEL.gz'
  51. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OASkiwi50-1.CEL.gz'
  52. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OASkiwi50-8.CEL.gz'
  53. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OASkiwi56-1.CEL.gz'
  54. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OASkiwi56-8.CEL.gz'
  55. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OASkiwi57-1.CEL.gz'
  56. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OASkiwi57-8.CEL.gz'
  57. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OASkiwi7-1.CEL.gz'
  58. '/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.raw/OASkiwi7-8.CEL.gz'
 
In total our data consists of 58 samples.

In total our data consists of 58 samples.

 
The `CELfiles` variable only contains filenames. Now we will load our CEL files in an Affybatch to read them, therefore we use `ReadAffy`. The variable `rawcel` contains the `AffyBatch` object.

The CELfiles variable only contains filenames. Now we will load our CEL files in an Affybatch to read them, therefore we use ReadAffy. The variable rawcel contains the AffyBatch object.

In [10]:
 
rawcel <- ReadAffy(filenames=CELfiles)
 
We can look at the object `rawcel` by just calling it:

We can look at the object rawcel by just calling it:

In [11]:
 
rawcel
Creating a generic function for ‘nchar’ from package ‘base’ in package ‘S4Vectors’

AffyBatch object
size of arrays=1164x1164 features (39 kb)
cdf=HG-U133_Plus_2 (54675 affyids)
number of samples=58
number of genes=54675
annotation=hgu133plus2
notes=
 
We can see that `rawcel` is an AffyBatch object. We can also see the size of the array and that it is a HG-U133_Plus_2 microarray with 54675 affy IDs. Each affy ID stands for one probe set with which you measure the expression of genes. In total, we have 58 samples in our dataset.
​
In the next step we will annotate the samples. The  unique  identifiers  of  the  samples  in  the  data  set  are  available  via  the `sampleNames` method. To get the sample names of each array in our AffyBatch object we use the function `sampleNames()` on our object `rawcel`:

We can see that rawcel is an AffyBatch object. We can also see the size of the array and that it is a HG-U133_Plus_2 microarray with 54675 affy IDs. Each affy ID stands for one probe set with which you measure the expression of genes. In total, we have 58 samples in our dataset.

In the next step we will annotate the samples. The unique identifiers of the samples in the data set are available via the sampleNames method. To get the sample names of each array in our AffyBatch object we use the function sampleNames() on our object rawcel:

In [12]:
 
sampleNames (rawcel)
  1. 'OAS11-1.CEL.gz'
  2. 'OAS11-8.CEL.gz'
  3. 'OAS1-1.CEL.gz'
  4. 'OAS12-1.CEL.gz'
  5. 'OAS12-8.CEL.gz'
  6. 'OAS13-1.CEL.gz'
  7. 'OAS13-8.CEL.gz'
  8. 'OAS15-1.CEL.gz'
  9. 'OAS15-8.CEL.gz'
  10. 'OAS1-8.CEL.gz'
  11. 'OAS23-1.CEL.gz'
  12. 'OAS23-8.CEL.gz'
  13. 'OAS25-1.CEL.gz'
  14. 'OAS25-8.CEL.gz'
  15. 'OAS26-1.CEL.gz'
  16. 'OAS26-8.CEL.gz'
  17. 'OAS30-1.CEL.gz'
  18. 'OAS30-8.CEL.gz'
  19. 'OAS32-1.CEL.gz'
  20. 'OAS32-8.CEL.gz'
  21. 'OAS34-1.CEL.gz'
  22. 'OAS34-8.CEL.gz'
  23. 'OAS37-1.CEL.gz'
  24. 'OAS37-8.CEL.gz'
  25. 'OAS4-1.CEL.gz'
  26. 'OAS4-8.CEL.gz'
  27. 'OAS59-1.CEL.gz'
  28. 'OAS59-8.CEL.gz'
  29. 'OAS61-1.CEL.gz'
  30. 'OAS61-8.CEL.gz'
  31. 'OAS66-1.CEL.gz'
  32. 'OAS66-8.CEL.gz'
  33. 'OAS78-1.CEL.gz'
  34. 'OAS78-8.CEL.gz'
  35. 'OAS85-1.CEL.gz'
  36. 'OAS85-8.CEL.gz'
  37. 'OAS9-12hyb.CEL.gz'
  38. 'OAS92-1.CEL.gz'
  39. 'OAS92-8.CEL.gz'
  40. 'OAS9-8.CEL.gz'
  41. 'OASkiwi18-1.CEL.gz'
  42. 'OASkiwi18-8.CEL.gz'
  43. 'OASkiwi21-1.CEL.gz'
  44. 'OASkiwi21-8.CEL.gz'
  45. 'OASkiwi31-1.CEL.gz'
  46. 'OASkiwi31-8ver2.CEL.gz'
  47. 'OASkiwi3-1.CEL.gz'
  48. 'OASkiwi3-8.CEL.gz'
  49. 'OASkiwi46-1.CEL.gz'
  50. 'OASkiwi46-8.CEL.gz'
  51. 'OASkiwi50-1.CEL.gz'
  52. 'OASkiwi50-8.CEL.gz'
  53. 'OASkiwi56-1.CEL.gz'
  54. 'OASkiwi56-8.CEL.gz'
  55. 'OASkiwi57-1.CEL.gz'
  56. 'OASkiwi57-8.CEL.gz'
  57. 'OASkiwi7-1.CEL.gz'
  58. 'OASkiwi7-8.CEL.gz'
 
These are just the file names. Now we can assign meaningful sample names to each array and let R know which diet each file name has.
​
Therefore we make a vector with the different diets.

These are just the file names. Now we can assign meaningful sample names to each array and let R know which diet each file name has.

Therefore we make a vector with the different diets.

In [13]:
 
Diet = c("anitoxidant rich diet - 1/3 total caloric intake",
        "anitoxidant rich diet - 1/3 total caloric intake",
        "anitoxidant rich diet - 1/3 total caloric intake",
        "control diet",
        "control diet",
        "control diet",
        "control diet",
        "anitoxidant rich diet - 1/3 total caloric intake",
        "anitoxidant rich diet - 1/3 total caloric intake",
        "anitoxidant rich diet - 1/3 total caloric intake",
        "control diet",
        "control diet",
        "control diet",
        "control diet",
        "anitoxidant rich diet - 1/3 total caloric intake",
        "anitoxidant rich diet - 1/3 total caloric intake",
        "anitoxidant rich diet - 1/3 total caloric intake",
        "anitoxidant rich diet - 1/3 total caloric intake",
        "anitoxidant rich diet - 1/3 total caloric intake",
        "anitoxidant rich diet - 1/3 total caloric intake",
        "anitoxidant rich diet - 1/3 total caloric intake",
        "anitoxidant rich diet - 1/3 total caloric intake",
        "control diet",
        "control diet",
        "anitoxidant rich diet - 1/3 total caloric intake",
        "anitoxidant rich diet - 1/3 total caloric intake",
        "control diet",
        "control diet",
        "control diet",
        "control diet",
        "anitoxidant rich diet - 1/3 total caloric intake",
        "anitoxidant rich diet - 1/3 total caloric intake",
        "control diet",
        "control diet",
        "anitoxidant rich diet - 1/3 total caloric intake",
        "anitoxidant rich diet - 1/3 total caloric intake",
        "control diet",
        "control diet",
        "control diet",
        "control diet",
        "3 kiwi fruits per day",
        "3 kiwi fruits per day",
        "3 kiwi fruits per day",
        "3 kiwi fruits per day",
        "3 kiwi fruits per day",
        "3 kiwi fruits per day",
        "3 kiwi fruits per day",
        "3 kiwi fruits per day",
        "3 kiwi fruits per day",
        "3 kiwi fruits per day",
        "3 kiwi fruits per day",
        "3 kiwi fruits per day",
        "3 kiwi fruits per day",
        "3 kiwi fruits per day",
        "3 kiwi fruits per day",
        "3 kiwi fruits per day",
        "3 kiwi fruits per day",
        "3 kiwi fruits per day")
 
Now we will merge the file names (`SampleNames`) and diet (`Diet`) into one data frame called `dataframe` for a good overview of which file name belongs to which diet:

Now we will merge the file names (SampleNames) and diet (Diet) into one data frame called dataframe for a good overview of which file name belongs to which diet:

In [14]:
 
dataframe <- data.frame(diet = Diet)
rownames (dataframe) <- sampleNames (rawcel)
dataframe
diet
OAS11-1.CEL.gzanitoxidant rich diet - 1/3 total caloric intake
OAS11-8.CEL.gzanitoxidant rich diet - 1/3 total caloric intake
OAS1-1.CEL.gzanitoxidant rich diet - 1/3 total caloric intake
OAS12-1.CEL.gzcontrol diet
OAS12-8.CEL.gzcontrol diet
OAS13-1.CEL.gzcontrol diet
OAS13-8.CEL.gzcontrol diet
OAS15-1.CEL.gzanitoxidant rich diet - 1/3 total caloric intake
OAS15-8.CEL.gzanitoxidant rich diet - 1/3 total caloric intake
OAS1-8.CEL.gzanitoxidant rich diet - 1/3 total caloric intake
OAS23-1.CEL.gzcontrol diet
OAS23-8.CEL.gzcontrol diet
OAS25-1.CEL.gzcontrol diet
OAS25-8.CEL.gzcontrol diet
OAS26-1.CEL.gzanitoxidant rich diet - 1/3 total caloric intake
OAS26-8.CEL.gzanitoxidant rich diet - 1/3 total caloric intake
OAS30-1.CEL.gzanitoxidant rich diet - 1/3 total caloric intake
OAS30-8.CEL.gzanitoxidant rich diet - 1/3 total caloric intake
OAS32-1.CEL.gzanitoxidant rich diet - 1/3 total caloric intake
OAS32-8.CEL.gzanitoxidant rich diet - 1/3 total caloric intake
OAS34-1.CEL.gzanitoxidant rich diet - 1/3 total caloric intake
OAS34-8.CEL.gzanitoxidant rich diet - 1/3 total caloric intake
OAS37-1.CEL.gzcontrol diet
OAS37-8.CEL.gzcontrol diet
OAS4-1.CEL.gzanitoxidant rich diet - 1/3 total caloric intake
OAS4-8.CEL.gzanitoxidant rich diet - 1/3 total caloric intake
OAS59-1.CEL.gzcontrol diet
OAS59-8.CEL.gzcontrol diet
OAS61-1.CEL.gzcontrol diet
OAS61-8.CEL.gzcontrol diet
OAS66-1.CEL.gzanitoxidant rich diet - 1/3 total caloric intake
OAS66-8.CEL.gzanitoxidant rich diet - 1/3 total caloric intake
OAS78-1.CEL.gzcontrol diet
OAS78-8.CEL.gzcontrol diet
OAS85-1.CEL.gzanitoxidant rich diet - 1/3 total caloric intake
OAS85-8.CEL.gzanitoxidant rich diet - 1/3 total caloric intake
OAS9-12hyb.CEL.gzcontrol diet
OAS92-1.CEL.gzcontrol diet
OAS92-8.CEL.gzcontrol diet
OAS9-8.CEL.gzcontrol diet
OASkiwi18-1.CEL.gz3 kiwi fruits per day
OASkiwi18-8.CEL.gz3 kiwi fruits per day
OASkiwi21-1.CEL.gz3 kiwi fruits per day
OASkiwi21-8.CEL.gz3 kiwi fruits per day
OASkiwi31-1.CEL.gz3 kiwi fruits per day
OASkiwi31-8ver2.CEL.gz3 kiwi fruits per day
OASkiwi3-1.CEL.gz3 kiwi fruits per day
OASkiwi3-8.CEL.gz3 kiwi fruits per day
OASkiwi46-1.CEL.gz3 kiwi fruits per day
OASkiwi46-8.CEL.gz3 kiwi fruits per day
OASkiwi50-1.CEL.gz3 kiwi fruits per day
OASkiwi50-8.CEL.gz3 kiwi fruits per day
OASkiwi56-1.CEL.gz3 kiwi fruits per day
OASkiwi56-8.CEL.gz3 kiwi fruits per day
OASkiwi57-1.CEL.gz3 kiwi fruits per day
OASkiwi57-8.CEL.gz3 kiwi fruits per day
OASkiwi7-1.CEL.gz3 kiwi fruits per day
OASkiwi7-8.CEL.gz3 kiwi fruits per day
 
Since we are working with annotated data, we will convert this dataframe to an `AnnotatedDataFrame`, which is a variant of the data.frame that the `affy` package requires for annotated data, and assign it to our `rawcel` object. We call this data frame `phenoData`.

Since we are working with annotated data, we will convert this dataframe to an AnnotatedDataFrame, which is a variant of the data.frame that the affy package requires for annotated data, and assign it to our rawcel object. We call this data frame phenoData.

In [15]:
 
phenoData (rawcel) <- AnnotatedDataFrame (data = dataframe)
 
To compare data from different arrays and to obtain reliable gene-level intensities from the raw microarray data we will use `fRMA`. In this way we will receive background-corrected, normalized and summarized gene-level intensities. 
​
First we load the frma library. 
​
Then the frma function takes the `rawcel` affybatch as input and produces an object containing gene-level expression values. We will give our object the form of an ExpressionSet and we call the data `eset`.

To compare data from different arrays and to obtain reliable gene-level intensities from the raw microarray data we will use fRMA. In this way we will receive background-corrected, normalized and summarized gene-level intensities.

First we load the frma library.

Then the frma function takes the rawcel affybatch as input and produces an object containing gene-level expression values. We will give our object the form of an ExpressionSet and we call the data eset.

In [16]:
 
library(frma)
In [17]:
 
eset <- frma(rawcel, verbose=TRUE)
save(eset, file="/mnt/storage/r0308882/jupyternotebooks/TAAK/E-MEXP-2030.eset")
Background Correcting ...

Normalizing ...

Summarizing ...

In [18]:
 
eset
ExpressionSet (storageMode: lockedEnvironment)
assayData: 54675 features, 58 samples 
  element names: exprs, se.exprs 
protocolData: none
phenoData
  sampleNames: OAS11-1.CEL.gz OAS11-8.CEL.gz ... OASkiwi7-8.CEL.gz (58
    total)
  varLabels: diet
  varMetadata: labelDescription
featureData: none
experimentData: use 'experimentData(object)'
Annotation: hgu133plus2 
 
We can see that `eset` is an ExpressionSet consisting of expression data from our microarray experiments (assayData). AssayData shows us that we are working with 54675 features on 58 samples.  The `phenoData` describes the samples used in the experiment (`sampleNames`) and the `varLabels` diet. Furthermore we find information about the features on the chip or technology used for the experiment, namely, that our data is annotated against hgu133plus2. Information on the protocol used for processing each sample (`protocolData`) and `featureData` are not given.

We can see that eset is an ExpressionSet consisting of expression data from our microarray experiments (assayData). AssayData shows us that we are working with 54675 features on 58 samples. The phenoData describes the samples used in the experiment (sampleNames) and the varLabels diet. Furthermore we find information about the features on the chip or technology used for the experiment, namely, that our data is annotated against hgu133plus2. Information on the protocol used for processing each sample (protocolData) and featureData are not given.

 
Because the `sampleNames` OAS11-1.CEL.gz OAS11-8.CEL.gz ... OASkiwi7-8.CEL.gz (58 total) are not very informative, we manually gave meaningful names to the sample names by creating a vector called `eset.labels`. With the first number indicating the patient number, the second number indicating if the data are obtained in week 1 or after 8 weeks, followed by the intervention type (control, anitoxidant rich diet - 1/3 total caloric intake, 3 kiwi fruits per day).

Because the sampleNames OAS11-1.CEL.gz OAS11-8.CEL.gz ... OASkiwi7-8.CEL.gz (58 total) are not very informative, we manually gave meaningful names to the sample names by creating a vector called eset.labels. With the first number indicating the patient number, the second number indicating if the data are obtained in week 1 or after 8 weeks, followed by the intervention type (control, anitoxidant rich diet - 1/3 total caloric intake, 3 kiwi fruits per day).

In [19]:
 
eset.labels <- c("11-1.antiox","11-8.antiox","1-1.antiox","12-1.Ctr","12-8.Ctr","13-1.Ctr",
                 "13-8.Ctr","15-1.antiox","15-8.antiox","1-8.antiox","23-1.Ctr","23-8.Ctr",
                 "25-1.Ctr","25-8.Ctr","26-1.antiox","26-8.antiox","30-1.antiox","30-8.antiox","32-1.antiox",
                 "32-8.antiox","34-1.antiox","34-8.antiox","37-1.Ctr","37-8.Ctr","4-1.antiox",
                 "4-8.antiox","59.1.Ctr","59-8.Ctr","61-1.Ctr","61-8.Ctr","66-1.antiox",
                 "66-8.antiox","78-1.Ctr","78-8.Ctr","85-1.antiox","85-8.antiox","9-1.Ctr",
                 "92-1.Ctr","92-8.Ctr","9-8.Ctr","18-1.Kiwi","18-8.Kiwi","21-1.Kiwi","21-8.Kiwi",
                 "31-1.Kiwi","31-8.Kiwi","3-1.Kiwi","3-8.Kiwi","46-1.Kiwi","46-8.Kiwi","50-1.Kiwi",
                 "50-8.Kiwi","56-1.Kiwi","56-8.Kiwi","57-1.Kiwi","57-8.Kiwi","7-1.Kiwi","7-8.Kiwi")
sampleNames (eset) <- eset.labels
 
Now we check if the sample names in `eset` are replaced.

Now we check if the sample names in eset are replaced.

In [20]:
 
sampleNames (eset)
  1. '11-1.antiox'
  2. '11-8.antiox'
  3. '1-1.antiox'
  4. '12-1.Ctr'
  5. '12-8.Ctr'
  6. '13-1.Ctr'
  7. '13-8.Ctr'
  8. '15-1.antiox'
  9. '15-8.antiox'
  10. '1-8.antiox'
  11. '23-1.Ctr'
  12. '23-8.Ctr'
  13. '25-1.Ctr'
  14. '25-8.Ctr'
  15. '26-1.antiox'
  16. '26-8.antiox'
  17. '30-1.antiox'
  18. '30-8.antiox'
  19. '32-1.antiox'
  20. '32-8.antiox'
  21. '34-1.antiox'
  22. '34-8.antiox'
  23. '37-1.Ctr'
  24. '37-8.Ctr'
  25. '4-1.antiox'
  26. '4-8.antiox'
  27. '59.1.Ctr'
  28. '59-8.Ctr'
  29. '61-1.Ctr'
  30. '61-8.Ctr'
  31. '66-1.antiox'
  32. '66-8.antiox'
  33. '78-1.Ctr'
  34. '78-8.Ctr'
  35. '85-1.antiox'
  36. '85-8.antiox'
  37. '9-1.Ctr'
  38. '92-1.Ctr'
  39. '92-8.Ctr'
  40. '9-8.Ctr'
  41. '18-1.Kiwi'
  42. '18-8.Kiwi'
  43. '21-1.Kiwi'
  44. '21-8.Kiwi'
  45. '31-1.Kiwi'
  46. '31-8.Kiwi'
  47. '3-1.Kiwi'
  48. '3-8.Kiwi'
  49. '46-1.Kiwi'
  50. '46-8.Kiwi'
  51. '50-1.Kiwi'
  52. '50-8.Kiwi'
  53. '56-1.Kiwi'
  54. '56-8.Kiwi'
  55. '57-1.Kiwi'
  56. '57-8.Kiwi'
  57. '7-1.Kiwi'
  58. '7-8.Kiwi'
 
Again we will merge the `sampleNames` and `Diet` in a data frame, this time using the newly made sample names. We will make a dataframe, using our annotated data frame `phenodata` on the expression set `eset`, by running the command `pData`.

Again we will merge the sampleNames and Diet in a data frame, this time using the newly made sample names. We will make a dataframe, using our annotated data frame phenodata on the expression set eset, by running the command pData.

In [21]:
 
pData(phenoData(eset))
diet
11-1.antioxanitoxidant rich diet - 1/3 total caloric intake
11-8.antioxanitoxidant rich diet - 1/3 total caloric intake
1-1.antioxanitoxidant rich diet - 1/3 total caloric intake
12-1.Ctrcontrol diet
12-8.Ctrcontrol diet
13-1.Ctrcontrol diet
13-8.Ctrcontrol diet
15-1.antioxanitoxidant rich diet - 1/3 total caloric intake
15-8.antioxanitoxidant rich diet - 1/3 total caloric intake
1-8.antioxanitoxidant rich diet - 1/3 total caloric intake
23-1.Ctrcontrol diet
23-8.Ctrcontrol diet
25-1.Ctrcontrol diet
25-8.Ctrcontrol diet
26-1.antioxanitoxidant rich diet - 1/3 total caloric intake
26-8.antioxanitoxidant rich diet - 1/3 total caloric intake
30-1.antioxanitoxidant rich diet - 1/3 total caloric intake
30-8.antioxanitoxidant rich diet - 1/3 total caloric intake
32-1.antioxanitoxidant rich diet - 1/3 total caloric intake
32-8.antioxanitoxidant rich diet - 1/3 total caloric intake
34-1.antioxanitoxidant rich diet - 1/3 total caloric intake
34-8.antioxanitoxidant rich diet - 1/3 total caloric intake
37-1.Ctrcontrol diet
37-8.Ctrcontrol diet
4-1.antioxanitoxidant rich diet - 1/3 total caloric intake
4-8.antioxanitoxidant rich diet - 1/3 total caloric intake
59.1.Ctrcontrol diet
59-8.Ctrcontrol diet
61-1.Ctrcontrol diet
61-8.Ctrcontrol diet
66-1.antioxanitoxidant rich diet - 1/3 total caloric intake
66-8.antioxanitoxidant rich diet - 1/3 total caloric intake
78-1.Ctrcontrol diet
78-8.Ctrcontrol diet
85-1.antioxanitoxidant rich diet - 1/3 total caloric intake
85-8.antioxanitoxidant rich diet - 1/3 total caloric intake
9-1.Ctrcontrol diet
92-1.Ctrcontrol diet
92-8.Ctrcontrol diet
9-8.Ctrcontrol diet
18-1.Kiwi3 kiwi fruits per day
18-8.Kiwi3 kiwi fruits per day
21-1.Kiwi3 kiwi fruits per day
21-8.Kiwi3 kiwi fruits per day
31-1.Kiwi3 kiwi fruits per day
31-8.Kiwi3 kiwi fruits per day
3-1.Kiwi3 kiwi fruits per day
3-8.Kiwi3 kiwi fruits per day
46-1.Kiwi3 kiwi fruits per day
46-8.Kiwi3 kiwi fruits per day
50-1.Kiwi3 kiwi fruits per day
50-8.Kiwi3 kiwi fruits per day
56-1.Kiwi3 kiwi fruits per day
56-8.Kiwi3 kiwi fruits per day
57-1.Kiwi3 kiwi fruits per day
57-8.Kiwi3 kiwi fruits per day
7-1.Kiwi3 kiwi fruits per day
7-8.Kiwi3 kiwi fruits per day
 
The gene-level intensities stored in the `eset` object can be accessed using the `exprs()` method.
Using the `exprs` function we will get a table with the expression values for each array, we call the table `probe.counts`. 

The gene-level intensities stored in the eset object can be accessed using the exprs() method. Using the exprs function we will get a table with the expression values for each array, we call the table probe.counts.

In [22]:
 
probe.counts <- exprs(eset)
In [23]:
 
head (probe.counts)
11-1.antiox11-8.antiox1-1.antiox12-1.Ctr12-8.Ctr13-1.Ctr13-8.Ctr15-1.antiox15-8.antiox1-8.antiox⋯46-1.Kiwi46-8.Kiwi50-1.Kiwi50-8.Kiwi56-1.Kiwi56-8.Kiwi57-1.Kiwi57-8.Kiwi7-1.Kiwi7-8.Kiwi
1007_s_at6.8835667.2669097.5652307.3312317.3098967.3887197.5372277.2320287.0091307.149889⋯ 7.4158727.2758397.6656867.5265267.2796047.0907367.2662377.5548867.1757067.398141
1053_at6.6104316.6005216.5483846.8194566.6242826.9242716.5813596.7441086.4707896.741073⋯ 6.2886226.3652716.3319026.6342426.5852836.7232136.1549126.2141616.4541436.226549
117_at9.7932029.8221879.4444989.5954109.4296709.5037959.3673719.5499459.6962899.795557⋯ 8.8323388.7244459.4729759.4438639.8580879.4765298.8477878.8014849.6078929.490732
121_at8.2421578.0360828.4629978.0881447.9233368.0717778.0553637.8245138.2570447.844089⋯ 8.2500448.0065647.9726907.9090037.8320657.7580878.1592768.3245088.0016418.128327
1255_g_at3.6738553.4211303.6650053.4774843.5531383.3299763.5114623.3981593.5438273.474941⋯ 3.5659163.5249573.4367133.5782783.3889283.3827823.5748323.4084813.3312353.398998
1294_at8.4696878.9613618.7481728.7151618.7563698.7519518.7753518.9409328.5404429.060595⋯ 8.5803748.6573749.1283069.2611758.9438368.7527728.7558558.8577308.9232528.904376
 
Since the probe names are not very informative, we will assign gene names to each probe.

Since the probe names are not very informative, we will assign gene names to each probe.

 
Therefore we first load two extra libraries, `library(annotate)` and `library(hgu133plus2.db)`. The latter contains the annotation of our microarray platform (hg133+2). 

Therefore we first load two extra libraries, library(annotate) and library(hgu133plus2.db). The latter contains the annotation of our microarray platform (hg133+2).

In [24]:
 
library(annotate)
library(hgu133plus2.db)
Loading required package: AnnotationDbi
Loading required package: stats4
Loading required package: GenomeInfoDb
Loading required package: S4Vectors
Loading required package: IRanges
Loading required package: XML
Loading required package: org.Hs.eg.db


 
Because it is more meaningful to work with gene symbols than probe names, we change the probe names (1007_s_at,1053_at,117_at,...) to the gene symbol using the `getSYMBOL` function. We use the gene symbols available in "hgu133plus2" and call it `GeneSymbol`.

Because it is more meaningful to work with gene symbols than probe names, we change the probe names (1007_s_at,1053_at,117_at,...) to the gene symbol using the getSYMBOL function. We use the gene symbols available in "hgu133plus2" and call it GeneSymbol.

In [25]:
 
probe.names <- rownames(probe.counts)
GeneSymbol <- getSYMBOL(probe.names, "hgu133plus2")
head(GeneSymbol)
1007_s_at
'NA'
1053_at
'RFC2'
117_at
'HSPA6'
121_at
'PAX8'
1255_g_at
'GUCA1A'
1294_at
'NA'
 
Now we coerce the raw expression `probe.counts` to `as.data.frame` to get a data frame togheter with the addition of the gene symbols as an extra column. We call this data frame `probe.counts.genesymbol`.

Now we coerce the raw expression probe.counts to as.data.frame to get a data frame togheter with the addition of the gene symbols as an extra column. We call this data frame probe.counts.genesymbol.

In [26]:
 
probe.counts.genesymbol <- as.data.frame(cbind(GeneSymbol, as.data.frame(probe.counts)))
head(probe.counts.genesymbol)
GeneSymbol11-1.antiox11-8.antiox1-1.antiox12-1.Ctr12-8.Ctr13-1.Ctr13-8.Ctr15-1.antiox15-8.antiox⋯46-1.Kiwi46-8.Kiwi50-1.Kiwi50-8.Kiwi56-1.Kiwi56-8.Kiwi57-1.Kiwi57-8.Kiwi7-1.Kiwi7-8.Kiwi
1007_s_atNA 6.8835667.2669097.5652307.3312317.3098967.3887197.5372277.2320287.009130⋯ 7.4158727.2758397.6656867.5265267.2796047.0907367.2662377.5548867.1757067.398141
1053_atRFC2 6.6104316.6005216.5483846.8194566.6242826.9242716.5813596.7441086.470789⋯ 6.2886226.3652716.3319026.6342426.5852836.7232136.1549126.2141616.4541436.226549
117_atHSPA6 9.7932029.8221879.4444989.5954109.4296709.5037959.3673719.5499459.696289⋯ 8.8323388.7244459.4729759.4438639.8580879.4765298.8477878.8014849.6078929.490732
121_atPAX8 8.2421578.0360828.4629978.0881447.9233368.0717778.0553637.8245138.257044⋯ 8.2500448.0065647.9726907.9090037.8320657.7580878.1592768.3245088.0016418.128327
1255_g_atGUCA1A 3.6738553.4211303.6650053.4774843.5531383.3299763.5114623.3981593.543827⋯ 3.5659163.5249573.4367133.5782783.3889283.3827823.5748323.4084813.3312353.398998
1294_atNA 8.4696878.9613618.7481728.7151618.7563698.7519518.7753518.9409328.540442⋯ 8.5803748.6573749.1283069.2611758.9438368.7527728.7558558.8577308.9232528.904376
 
For some probes we don't have a GeneSymbol (=NA). These ones we will delete.

For some probes we don't have a GeneSymbol (=NA). These ones we will delete.

In [27]:
 
probe.counts.genesymbol = probe.counts.genesymbol[complete.cases(probe.counts.genesymbol),]
probe.counts.genesymbol
GeneSymbol11-1.antiox11-8.antiox1-1.antiox12-1.Ctr12-8.Ctr13-1.Ctr13-8.Ctr15-1.antiox15-8.antiox⋯46-1.Kiwi46-8.Kiwi50-1.Kiwi50-8.Kiwi56-1.Kiwi56-8.Kiwi57-1.Kiwi57-8.Kiwi7-1.Kiwi7-8.Kiwi
1053_atRFC2 6.610431 6.600521 6.548384 6.819456 6.624282 6.924271 6.581359 6.744108 6.470789⋯ 6.288622 6.365271 6.331902 6.634242 6.585283 6.723213 6.154912 6.214161 6.454143 6.226549
117_atHSPA6 9.793202 9.822187 9.444498 9.595410 9.429670 9.503795 9.367371 9.549945 9.696289⋯ 8.832338 8.724445 9.472975 9.443863 9.858087 9.476529 8.847787 8.801484 9.607892 9.490732
121_atPAX8 8.242157 8.036082 8.462997 8.088144 7.923336 8.071777 8.055363 7.824513 8.257044⋯ 8.250044 8.006564 7.972690 7.909003 7.832065 7.758087 8.159276 8.324508 8.001641 8.128327
1255_g_atGUCA1A 3.673855 3.421130 3.665005 3.477484 3.553138 3.329976 3.511462 3.398159 3.543827⋯ 3.565916 3.524957 3.436713 3.578278 3.388928 3.382782 3.574832 3.408481 3.331235 3.398998
1316_atTHRA 5.890524 5.674569 5.579556 5.683343 5.684697 5.672791 5.739197 5.479762 5.618383⋯ 5.614814 5.549396 5.735425 5.608312 5.499133 5.515733 5.822024 5.683264 5.664826 5.736320
1320_atPTPN21 4.176687 4.164426 4.167486 4.401298 4.025654 4.166490 3.911647 3.779788 4.093818⋯ 4.271910 3.969616 4.340553 4.081329 4.079819 3.888818 4.467843 4.256135 4.299145 4.055230
1405_i_atCCL5 11.30078811.18561111.37681611.72583911.89164711.32186111.60408810.50922310.257102⋯ 11.19860711.90077910.96740610.80818711.07056110.90580311.63818711.68655511.35675811.082336
1431_atCYP2E1 3.555888 3.840602 3.851141 3.742753 3.812938 3.599797 3.951348 3.643236 3.871999⋯ 3.675141 3.708792 3.715600 3.813662 3.903673 3.732189 3.582150 3.659515 3.647780 3.715882
1438_atEPHB3 5.441509 5.464899 5.374962 5.132870 5.303709 5.395884 5.287147 5.037820 5.313671⋯ 5.120288 5.122410 5.146546 5.226369 5.105126 5.117982 5.151602 5.209973 5.365237 5.237115
1487_atESRRA 7.877000 7.859355 7.901844 7.714351 7.909368 7.672879 7.748803 7.833473 7.721753⋯ 7.868978 7.837828 7.812422 8.065550 7.689235 7.873151 7.800737 7.894675 7.976457 7.968336
1494_f_atCYP2A6 5.732392 5.838832 5.942815 5.597305 5.622168 5.655301 5.487095 5.540947 5.544591⋯ 5.638314 5.770692 6.026941 5.627791 5.513017 5.702024 5.722785 5.809202 5.659781 5.996881
1552256_a_atSCARB1 6.838035 7.022619 6.909518 6.693071 6.667544 6.674074 6.688979 6.602908 6.582965⋯ 6.729285 6.896909 6.982929 6.963084 6.510509 6.574767 6.663046 6.726024 6.774366 6.885171
1552257_a_atTTLL12 7.630507 8.013307 7.738700 7.952968 7.756388 7.677290 7.564435 7.765186 7.639728⋯ 7.570146 7.716699 8.035434 8.078661 7.892341 7.862561 7.821289 7.844952 7.783750 7.796132
1552258_atLINC00152 4.200008 4.804589 4.896980 5.208630 4.627845 4.421416 4.665980 4.956540 5.353531⋯ 4.575493 4.428972 4.606339 4.989210 4.613073 4.442185 4.559025 5.242005 5.173434 4.874457
1552261_atWFDC2 4.348509 4.322140 4.331104 4.494769 4.399268 4.583925 4.625812 4.146292 4.874651⋯ 4.429971 4.568199 4.589513 4.563787 4.625225 4.261094 4.349492 4.675184 4.163037 4.640696
1552263_atMAPK1 9.336247 9.358997 9.038522 9.360961 9.311144 9.425389 9.143464 9.346933 9.561300⋯ 9.182333 9.170172 8.787978 8.969547 8.984005 9.309427 8.868733 8.820503 9.325497 9.203224
1552264_a_atMAPK1 9.384636 9.325517 9.117979 9.260774 9.164264 9.183386 9.123679 9.261402 9.766094⋯ 9.047271 9.073249 8.728943 9.070393 8.836605 9.202283 8.877880 8.800438 9.249439 9.264996
1552266_atADAM32 3.441782 3.429537 3.518016 3.393149 3.371570 3.380484 3.395808 3.636820 3.499167⋯ 3.477226 3.392478 3.637578 3.484040 3.450688 3.533664 3.456095 3.392524 3.513651 3.371174
1552269_atSPATA17 3.299688 3.478221 3.392730 3.172244 3.262761 3.344075 3.343295 3.243662 3.282481⋯ 3.247927 3.285562 3.424162 3.118879 3.371177 3.256146 3.313342 3.259472 3.522258 3.462943
1552271_atPRR22 5.766843 5.834153 5.900485 5.862054 5.874682 5.969015 5.726332 5.911719 5.871811⋯ 5.929243 5.851925 5.933487 5.610173 5.889694 5.711153 6.084558 6.052706 5.844374 6.166681
1552272_a_atPRR22 5.415276 5.301457 5.448508 5.380483 5.637338 5.487742 5.419967 5.532273 5.457684⋯ 5.191320 5.206784 5.406578 5.187373 5.095491 5.065195 5.383152 5.544593 5.252570 5.543076
1552274_atPXK 8.714126 8.614766 8.005996 8.390701 8.250638 8.650558 8.274342 8.401033 8.605678⋯ 8.076276 7.633088 7.960513 8.262347 7.787996 8.120222 7.867552 7.662538 7.384404 7.733015
1552275_s_atPXK 7.503869 7.504120 7.189997 6.767400 6.981485 7.506251 7.349260 7.462952 8.105787⋯ 7.558477 7.273259 6.862660 7.424311 7.183527 7.614375 7.137098 7.077059 6.790521 6.854261
1552276_a_atVPS18 5.566649 5.403242 5.606997 5.547578 5.703230 5.237683 5.489405 5.122358 5.433386⋯ 5.190638 4.973454 5.553173 5.514081 5.616330 5.391849 5.445309 5.291107 5.542164 5.802679
1552277_a_atMSANTD3 5.544414 5.749672 5.816608 6.113041 5.810838 5.892287 5.891647 5.505953 6.175605⋯ 5.717115 6.167842 5.905651 5.847830 6.146190 6.193510 6.272529 6.265134 5.829513 5.732987
1552278_a_atSLC46A1 4.003595 3.866852 4.373905 4.181480 4.095880 4.279121 4.170342 3.877681 4.240852⋯ 4.033531 4.135401 4.121274 4.195727 4.253983 3.976225 3.830796 4.010377 3.813087 3.962003
1552279_a_atSLC46A1 6.798912 6.539545 6.727277 6.541340 6.518629 6.573843 6.527323 6.515724 6.528657⋯ 6.415137 6.210456 6.657903 6.438193 6.582273 6.150852 6.604255 6.665168 6.299463 6.713223
1552280_atTIMD4 4.134551 4.181559 3.999580 3.849480 4.132975 4.030986 4.141902 4.176575 3.809812⋯ 4.010550 3.985610 4.144153 3.741398 4.290831 3.992745 4.031190 4.042987 4.266845 4.092394
1552281_atSLC39A5 7.151708 7.212624 7.429520 7.268807 6.994082 6.924700 7.031366 6.810466 6.993371⋯ 6.956801 6.765147 7.039447 6.912830 6.750034 6.754350 7.366257 7.067843 7.162744 7.253726
1552286_atATP6V1E2 6.316561 6.289792 6.207048 6.422366 6.588500 6.541171 6.574390 6.678947 6.569779⋯ 6.249739 6.591711 6.404682 6.481562 6.572174 6.460195 6.315477 6.210563 6.476948 6.219218
⋮⋮⋮⋮⋮⋮⋮⋮⋮⋮⋮⋱⋮⋮⋮⋮⋮⋮⋮⋮⋮⋮
78047_s_atMMP24-AS1 9.578586 9.388881 9.572661 9.560224 9.499378 9.199115 9.171436 9.177482 9.502510 ⋯ 9.888129 9.476752 9.291294 9.270682 8.950748 9.448152 9.821626 9.866100 9.301420 9.643268
78330_atZNF335 6.207118 6.044649 6.050417 5.970098 6.078880 6.195094 6.064356 5.898857 5.868903 ⋯ 5.483997 5.405832 5.796990 5.690146 5.626583 5.672774 5.840504 5.747058 6.028148 6.107081
78383_atTOPORS-AS1 8.230613 8.160006 7.691682 7.956183 8.007016 8.094462 8.105096 8.217350 7.923215 ⋯ 7.783258 7.908363 7.802864 7.320368 7.999302 7.897310 7.772296 7.626512 8.192785 7.904982
79005_atSLC35E1 6.961002 6.900440 6.963430 6.891863 6.827195 6.935123 6.803750 6.803726 6.886931 ⋯ 6.700021 6.576849 6.717981 6.723433 6.451127 6.651911 6.994214 6.948766 6.691605 6.745368
81737_atLOC100505915 5.758473 5.812557 6.010232 6.180948 6.351530 6.003251 6.430473 5.933966 6.228175 ⋯ 5.901933 5.612564 5.498684 5.937111 5.684186 5.891349 5.842796 5.989784 5.866144 5.984391
823_atCX3CL1 4.491859 4.724462 4.926561 4.550234 4.743374 4.831325 4.293846 4.463509 4.367938 ⋯ 4.695778 4.316801 4.906796 4.430687 4.657030 4.478339 4.560735 4.722482 4.532136 4.709088
87100_atABHD2 7.037017 6.548259 5.955100 7.059052 6.871604 6.237925 5.336388 5.998970 6.901421 ⋯ 5.873020 5.172922 4.778936 5.705484 4.991597 6.392768 5.654281 4.776244 5.214332 5.521185
89476_r_atNPEPL1 7.856361 7.935509 7.987772 7.860509 7.759808 8.156819 7.852110 8.196617 7.867845 ⋯ 8.135761 8.012934 8.173717 8.106934 7.985971 7.844801 8.098339 7.861698 7.959103 8.236589
89948_atPCIF1 6.564283 6.417769 6.535581 6.625286 6.516503 6.451171 6.487396 6.336822 6.340034 ⋯ 6.258004 6.259451 6.490318 6.300701 6.441915 6.442217 6.535003 6.473144 6.405717 6.441323
89977_atACSM5 4.840162 4.695827 4.911139 4.880722 4.839264 4.710065 4.838118 4.883580 4.595376 ⋯ 4.809592 4.853651 4.917746 4.684727 4.943241 4.549944 4.871383 4.949508 4.849736 4.934356
90265_atADAP1 9.811923 9.738229 9.900816 10.136892 9.973627 9.844212 9.693061 9.637271 9.536245 ⋯ 10.101084 9.845438 9.870775 9.845399 9.439074 9.569525 9.806329 9.917775 9.893651 10.093517
90610_atLRCH4 10.179423 10.330923 9.938603 10.142027 10.092307 10.256883 10.047061 10.104663 9.886660 ⋯ 9.805068 9.907262 10.470855 10.193608 10.154283 10.110492 9.830823 9.992762 10.259101 9.971659
91580_atLRTM1 3.304218 3.287952 3.286525 3.177386 3.259153 3.323864 3.235504 3.438949 3.190565 ⋯ 3.210194 3.252666 3.654684 3.319360 3.402244 3.170166 3.334021 3.375102 3.206734 3.409093
91682_atEXOSC4 6.304555 6.401091 6.436646 6.201425 6.227224 6.282794 6.291177 6.134838 6.415923 ⋯ 6.336965 6.164581 6.221996 6.259189 6.114079 6.087449 6.362166 6.328067 6.408805 6.546980
91684_g_atEXOSC4 7.491806 7.450566 7.402470 7.467830 7.574440 7.330410 7.296512 7.215728 7.283357 ⋯ 7.310474 7.372318 7.253618 7.367444 7.143184 7.182572 7.085487 7.282649 7.308258 7.312879
91703_atEHBP1L1 8.734952 8.889354 8.728556 8.821399 8.702327 8.713363 8.603937 8.909653 8.829668 ⋯ 8.413723 8.374013 8.601494 8.720713 8.148263 8.235096 8.462961 8.615472 8.718937 8.628919
91816_f_atMEX3D 3.498949 4.020340 3.575493 3.546524 3.635539 3.878466 3.684062 3.794643 3.640355 ⋯ 4.031678 4.272678 3.937968 4.394940 4.008670 4.306001 4.073342 4.131975 3.799991 3.659312
91826_atEPS8L1 6.283886 6.041844 6.401134 6.023024 5.998773 5.864466 5.968746 5.951676 6.184741 ⋯ 6.192204 6.069150 6.058771 6.257741 5.867385 5.928824 6.383552 6.287728 6.065254 6.119732
91920_atBCAN 7.087963 6.923173 7.045769 6.794470 6.815888 6.914201 6.995502 6.703195 6.824905 ⋯ 6.927060 6.800138 6.729875 6.665554 6.705347 6.660385 6.946949 6.947281 7.116524 7.154033
91952_atDCAF15 7.484893 7.790533 7.670096 7.834551 7.765851 7.810817 7.686638 7.850533 7.878852 ⋯ 7.506633 7.650574 7.984516 7.747595 7.847386 7.727980 7.673750 7.900622 7.923622 7.755252
AFFX-HSAC07/X00351_3_atACTB 13.840056 13.922073 13.915845 13.859395 13.839557 13.956939 13.838297 13.884339 13.918969 ⋯ 13.906853 14.005153 14.113163 14.069143 14.032516 13.956044 14.004729 13.977608 13.918982 13.875162
AFFX-HSAC07/X00351_5_atACTB 13.245206 13.411510 13.361958 13.333650 13.337522 13.150246 13.170886 13.162779 13.498525 ⋯ 13.269924 13.164788 13.081283 13.416711 12.936210 13.224179 13.395151 13.295410 13.014642 13.259990
AFFX-HSAC07/X00351_M_atACTB 13.465964 13.652434 13.596051 13.487318 13.522093 13.453763 13.454364 13.471910 13.719337 ⋯ 13.550461 13.539335 13.520641 13.750929 13.452883 13.571927 13.623004 13.668152 13.394639 13.511824
AFFX-HUMGAPDH/M33197_3_atGAPDH 12.699788 12.608288 12.802312 12.730804 12.759979 12.753848 12.724272 12.699181 12.599882 ⋯ 12.801598 12.768531 12.743516 12.856353 12.661885 12.693164 12.625928 12.708849 12.742060 12.618130
AFFX-HUMGAPDH/M33197_5_atGAPDH 12.675756 12.591940 12.750896 12.811358 12.850033 12.777635 12.756066 12.725964 12.755646 ⋯ 12.816041 12.601600 12.278221 12.692213 12.241944 12.588181 12.423169 12.291804 12.508294 12.622432
AFFX-HUMGAPDH/M33197_M_atGAPDH 12.745317 12.679556 12.840982 12.860229 12.889263 12.894780 12.864999 12.807291 12.792344 ⋯ 12.811141 12.763400 12.674028 12.791433 12.547124 12.740783 12.585751 12.595219 12.683617 12.725963
AFFX-HUMISGF3A/M97935_3_atSTAT1 9.510622 9.715071 10.458064 10.349714 10.364029 9.385973 9.488588 10.096957 10.170024 ⋯ 9.422205 9.583921 10.599711 10.835587 10.244329 10.214237 10.036332 9.811887 10.255101 9.834554
AFFX-HUMISGF3A/M97935_5_atSTAT1 5.998323 5.561721 6.704181 6.934247 6.602438 5.395333 5.250104 5.687301 6.523896 ⋯ 4.862674 4.863064 5.316137 6.422527 5.055055 5.950912 5.164885 4.770793 5.797092 5.366453
AFFX-HUMISGF3A/M97935_MA_atSTAT1 8.622109 8.860320 9.637073 10.010727 9.505771 8.349333 8.441455 8.851493 9.131736 ⋯ 7.970029 7.879735 9.148273 9.615934 8.423433 8.749308 8.301028 7.788688 9.056385 8.613297
AFFX-HUMISGF3A/M97935_MB_atSTAT1 7.250604 7.448321 8.203449 8.501124 8.076940 7.009882 7.067092 7.838755 8.178487 ⋯ 6.942839 6.892431 7.884699 8.668283 7.666556 8.016365 7.523361 7.166876 7.877977 7.072133
 
Some genes correspond to multiple probes (eg. MAPK1), and it can be seen that expression values differ in one person altought we are talking about the same gene (eg. 11-1.antiox - MAPK1: 9.336247 and 9.384636). Differing values may have biological meaning (splice variants) or may be noise. We dealt with this problem by taking the median expression.
​
To group the probes per gene, we will use the aggregate function from the `reshape2` package which reduces the multiple values to a single one.

Some genes correspond to multiple probes (eg. MAPK1), and it can be seen that expression values differ in one person altought we are talking about the same gene (eg. 11-1.antiox - MAPK1: 9.336247 and 9.384636). Differing values may have biological meaning (splice variants) or may be noise. We dealt with this problem by taking the median expression.

To group the probes per gene, we will use the aggregate function from the reshape2 package which reduces the multiple values to a single one.

In [28]:
 
library(reshape2)
 
We will now `melt` and `dcast` the probe expression table `probe.counts.genesymbol` into a gene count table `counts`.
​
We will `melt` our data so that each row is a unique GeneSymbol-variable combination. Then we "cast" the melted data into the shape we want. We use `GeneSymbol` as our IDvariable and the variable we want to swing into column names is `variable`. Since we are working with data.frame objects we use `dcast`. 
Furthermore we use `fun.aggregate` to aggregate multiple genes and take the median of their expression values.

We will now melt and dcast the probe expression table probe.counts.genesymbol into a gene count table counts.

We will melt our data so that each row is a unique GeneSymbol-variable combination. Then we "cast" the melted data into the shape we want. We use GeneSymbol as our IDvariable and the variable we want to swing into column names is variable. Since we are working with data.frame objects we use dcast. Furthermore we use fun.aggregate to aggregate multiple genes and take the median of their expression values.

In [29]:
 
melt.probe.counts.genesymbol <- melt(probe.counts.genesymbol, id.vars = c("GeneSymbol"))
head (melt.probe.counts.genesymbol)
GeneSymbolvariablevalue
RFC2 11-1.antiox6.610431
HSPA6 11-1.antiox9.793202
PAX8 11-1.antiox8.242157
GUCA1A 11-1.antiox3.673855
THRA 11-1.antiox5.890524
PTPN21 11-1.antiox4.176687
In [30]:
 
counts <- dcast(melt.probe.counts.genesymbol, GeneSymbol ~ variable, fun.aggregate=median)
counts
GeneSymbol11-1.antiox11-8.antiox1-1.antiox12-1.Ctr12-8.Ctr13-1.Ctr13-8.Ctr15-1.antiox15-8.antiox⋯46-1.Kiwi46-8.Kiwi50-1.Kiwi50-8.Kiwi56-1.Kiwi56-8.Kiwi57-1.Kiwi57-8.Kiwi7-1.Kiwi7-8.Kiwi
A1BG 5.5924255.8334895.5277005.3876605.5904555.5386175.7282985.7495065.546408⋯ 5.5323035.4972245.7485295.5873285.6176005.5341335.5464565.5669245.4980305.350948
A1BG-AS15.7133475.4452785.6214125.7154305.5664945.4118365.3516015.3663585.123712⋯ 5.2674465.7028615.8014205.4825845.2021005.5971005.2222545.3890265.5289925.137205
A1CF 4.2547804.2324574.1866854.2102173.9179164.0249454.0513444.0354284.252751⋯ 4.3537144.1219054.3001704.1383633.9679014.1924894.0857694.3222984.2298284.227707
A2M 5.0960035.0709224.9084884.8832744.7601825.0810644.8918254.2922165.086576⋯ 5.1078224.9571754.8803224.9418834.7053654.7791524.8632215.1064204.9605725.069796
A2M-AS1 5.8558856.7598377.0406476.8951347.0561267.4419227.8910316.5304916.295841⋯ 6.6491487.1214556.3698666.7188057.0864687.1895847.2776617.1195257.0726596.844123
A2ML1 3.9274693.9812554.0778833.9128243.9833694.0066754.0447244.0274684.166149⋯ 3.9076363.8549533.9640113.9607264.1132933.8956784.0043963.8666534.0656773.887948
A2MP1 5.0722944.9676005.2723244.8342975.0157955.2368685.0370954.8626064.946290⋯ 4.9396374.9405104.8757725.2121845.0192734.9692285.1908245.4438985.0622174.998334
A4GALT 7.1186766.6071876.8671886.6259796.7384646.5194596.2538426.4461896.540243⋯ 6.6311356.4830596.9407406.7216726.2386886.5518066.6866576.8876166.8014757.100749
A4GNT 4.2584833.9761534.3417423.9928643.9876484.1788154.2166154.4954764.149010⋯ 4.2373414.3616694.2745034.3682674.3449794.3173824.2804584.0839474.2591544.023527
AA06 5.0841025.1388384.9093025.2886585.1922144.9860944.9825044.8795545.149422⋯ 5.1771035.1577875.0482005.2008935.2601034.7994734.7033935.1694225.0076494.946410
AAAS 7.1880917.4588007.5550827.6106237.4743367.3350377.3369547.1770267.209874⋯ 7.3903137.2655217.4494407.3389047.2561907.2395697.3349287.6004757.3641537.667871
AACS 6.8841477.1530006.6484797.1107276.9399727.2062927.1147906.8163156.584354⋯ 6.5869607.0393577.1416997.1302686.7619806.8417336.7637296.9027126.9039036.584470
AACSP1 3.5566763.3724083.4380853.6311643.6951893.4829943.4601643.4376093.490966⋯ 3.6861133.6568743.5485193.2439103.4885713.5192673.4990573.3288923.5030533.448290
AADAC 4.6795164.6007734.7726454.5037544.4820674.3757214.4532594.6022594.781715⋯ 4.4063464.3448614.5884104.6287514.6275004.2628174.4053294.5808544.6407644.758143
AADACL2 3.0647423.0453263.3295533.2433653.0872823.1568283.1950513.2876953.243470⋯ 2.9581663.0292473.2263303.3622323.2280653.0133163.1058223.2596213.2463853.131673
AADACP1 3.4552573.2527943.4083233.2925283.6420033.3772983.4906093.3690203.480660⋯ 3.3121313.4985363.2315973.2796713.3586023.4081303.3857793.3559193.5947893.364605
AADAT 4.9751144.9992384.9036135.0997264.9290795.2395475.1500465.0687124.978259⋯ 4.9409284.8419305.1076564.7050444.8936164.8689085.2016965.3517595.0266865.441470
AAED1 5.9814576.0010775.6659305.8698945.6837936.0948386.3559626.3709516.034560⋯ 6.0041326.1611565.9736525.9053106.1366966.1951165.7865216.1248596.0826525.760818
AAGAB 5.2377626.1182465.0626295.6344145.5801925.4753655.8449686.1166195.162693⋯ 6.1162876.3234666.3885246.1572766.2954446.3104136.0266625.8101105.9395075.632757
AAK1 5.2305815.2848135.0929055.1535705.2991165.0534575.0868355.0830365.067518⋯ 5.3832435.2060975.1672174.9091964.8129834.8771135.1901785.1112835.2293575.402651
AAMDC 6.2068766.4076636.4985616.3326436.2265736.1075755.7311496.3403926.214508⋯ 6.3487036.4572356.2828256.2170126.2035425.9008586.2440156.2986156.3362046.439737
AAMP 8.7636568.9298948.6888858.5951668.4542868.7936988.7175768.8568178.830478⋯ 9.0055378.8645978.9267518.9596988.7275858.8185498.9878829.1435188.8013138.938490
AANAT 4.4790834.2434574.0256054.4370604.3147863.9757333.9917343.9972164.319998⋯ 4.2912774.1461724.0715934.0839113.6981694.0837874.4999114.3600114.1684804.062074
AAR2 7.9001337.8667098.0630447.9115087.9814087.9474668.0265457.9475707.796210⋯ 7.7310848.0128578.1736438.1843397.9111617.9514947.9917898.0594547.9173507.826011
AARS 8.1873748.4921888.3963188.6507558.5352588.4380968.5471658.3517808.333826⋯ 8.1059488.4887408.6885748.7523888.5059148.3263418.3696718.3858798.5944148.396974
AARS2 6.8604307.1693116.8296447.0235566.9642316.9928997.0190277.0423356.820314⋯ 6.7348196.9860507.1950127.1519956.9228346.9313566.9424147.0790387.1132527.206175
AASDH 6.7015866.4966086.3754016.4337106.6616866.3104776.4028626.6299026.716352⋯ 6.2926736.8399816.0577966.5396546.9034036.6099276.2894145.9320296.5316025.996069
AASDHPPT7.1431167.4015207.5000466.8228167.6019897.3785287.6967097.7862747.790581⋯ 7.3330267.5702127.6627608.2788097.5376557.8863337.3121247.2770917.4555037.005883
AASS 3.8643773.6899154.0072863.7351883.7896763.6508973.6927183.7420473.691063⋯ 3.5992553.7776373.7597743.7882483.6895173.8402313.5954643.8147493.8434553.474545
AATBC 8.1297978.4157998.0687338.3510588.0607617.9390787.5526868.1704967.672956⋯ 7.9429827.7703188.3038218.7065567.5939037.7974957.4042497.9216367.7756087.725576
⋮⋮⋮⋮⋮⋮⋮⋮⋮⋮⋱⋮⋮⋮⋮⋮⋮⋮⋮⋮⋮
ZSCAN23 3.442076 3.531826 3.472662 3.424694 3.346899 3.4916703.542459 3.427761 3.421831⋯ 3.562106 3.387938 3.355192 3.524695 3.478271 3.484943 3.384479 3.597533 3.609556 3.444083
ZSCAN25 6.300886 6.378943 6.190885 6.318900 6.342984 6.4502736.499344 6.352996 6.583302⋯ 6.199826 6.356675 6.487741 6.697943 6.434030 6.506665 6.389669 6.495585 6.368674 6.261327
ZSCAN26 5.788077 6.174966 6.098816 5.959766 6.320467 6.5475836.557917 6.666384 6.400654⋯ 6.183528 6.759552 6.377672 6.524442 6.666441 6.516718 6.118808 6.012021 6.571819 5.888037
ZSCAN29 7.621734 7.930792 7.432404 7.655113 7.557386 7.7731208.032459 8.052096 7.973693⋯ 7.401650 7.559362 7.230197 7.438010 7.774532 7.646201 7.322756 7.271510 7.933126 7.366274
ZSCAN30 5.663857 5.648854 5.663481 5.627459 5.648106 5.8848395.831206 5.731556 6.023268⋯ 5.593922 5.827274 5.627313 5.757199 5.918477 6.027160 5.766375 5.774044 5.818906 5.601941
ZSCAN31 3.959639 3.997225 4.112679 3.809428 3.999427 4.2530534.040883 3.983188 3.997081⋯ 4.312729 4.198714 4.197820 3.946452 4.079018 4.081071 3.944341 4.058346 4.367136 3.833438
ZSCAN32 7.099453 6.925786 7.037113 7.052402 6.991664 6.9939276.979674 6.981457 7.077926⋯ 6.886139 6.969760 6.818106 6.833030 6.788297 7.060608 6.830738 6.824590 6.799219 6.903246
ZSCAN4 3.217198 3.291239 3.227115 3.183364 3.241416 3.2120373.332962 3.168096 3.175372⋯ 3.258859 3.249746 3.261331 3.291341 3.217374 3.333558 3.354621 3.269777 3.165025 3.313864
ZSCAN5A 4.908811 4.875683 4.863746 4.818928 4.914699 4.7751124.613077 4.872805 4.816452⋯ 5.016180 5.045041 5.012475 4.906521 4.865881 4.826300 4.863779 4.863664 4.858186 4.786993
ZSCAN9 5.456009 5.566618 5.648663 5.357224 5.474878 5.7748185.891269 5.644184 5.576845⋯ 5.475863 5.633190 5.658927 5.567363 5.601336 5.364656 5.423346 5.626284 5.397007 5.412183
ZSWIM1 6.111228 5.947417 6.060650 5.845030 5.886480 6.0287615.994021 6.046427 5.996208⋯ 5.925667 5.872128 6.167867 6.055226 5.819619 5.734794 5.747475 5.893949 5.919624 5.969175
ZSWIM2 3.382466 3.192381 3.371776 3.077412 3.378220 3.1935883.212854 3.357646 3.074577⋯ 3.190753 3.129129 3.308105 3.256903 3.130849 3.180765 3.223718 3.228160 3.130690 3.364123
ZSWIM3 6.728384 6.388013 6.378236 6.389372 6.471434 6.2773076.325601 6.501378 6.140983⋯ 6.177724 6.500791 6.830737 6.526406 6.678064 6.492028 6.471004 6.289200 6.471912 6.491110
ZSWIM4 4.158575 4.295076 4.389547 4.547696 4.004723 4.0188394.048423 3.876637 4.022252⋯ 4.104336 4.042552 4.387822 4.388529 4.160669 4.235738 4.341340 4.201128 4.306636 4.069362
ZSWIM5 4.770518 5.126302 4.952683 4.745857 4.585687 4.3311044.967376 4.674269 4.973689⋯ 4.659176 4.783675 5.144109 5.113953 5.086933 5.282358 5.196454 4.915818 4.453833 4.806822
ZSWIM6 8.857534 8.911927 8.733283 8.683781 9.010178 8.9893958.894243 9.337228 9.347742⋯ 9.239434 8.940250 9.018071 9.342550 9.301090 9.356804 8.968773 8.733487 8.581748 8.622455
ZSWIM7 6.444520 6.371579 6.308345 6.370775 6.572035 6.6102916.739468 6.513217 6.476720⋯ 6.453783 6.573911 6.340002 6.466533 6.740030 6.760689 6.331593 6.353184 6.539344 6.375281
ZSWIM8 6.796051 6.987755 6.721389 7.054609 6.780944 6.7662156.545446 6.804658 6.481221⋯ 6.912568 6.927684 7.101703 6.776912 6.649057 6.695046 6.857623 6.806423 6.974425 6.899384
ZUFSP 5.010892 5.038093 4.917162 5.090576 5.355629 5.3361295.718727 6.036512 5.290525⋯ 5.253114 6.137727 5.188686 5.508983 6.349434 5.762792 5.039653 4.973050 5.298578 4.681055
ZW10 6.077519 6.385056 6.314082 6.354879 6.253716 6.6246356.386977 6.516707 6.493438⋯ 6.474657 6.414761 6.340543 6.574528 6.565849 6.517836 6.562074 6.488524 6.369117 6.388153
ZWILCH 5.209429 5.342570 5.029771 5.529119 5.510506 5.2517635.655910 5.982666 5.539614⋯ 5.418113 6.020492 5.102514 5.437208 6.150063 5.744760 5.514807 5.306267 5.363420 4.903013
ZWINT 4.650450 5.150269 4.930281 5.166630 5.888547 4.9661285.559821 6.093438 5.878708⋯ 5.190459 5.851862 5.033619 5.371809 7.101887 5.788604 5.677923 5.197433 5.348574 5.196054
ZXDA 4.600167 4.846614 4.498664 4.690923 4.860889 4.9087985.257431 5.302835 5.135090⋯ 5.148699 5.335648 4.818612 4.999835 5.581873 5.438143 5.035265 4.949579 4.819181 4.668480
ZXDB 4.523059 4.665460 4.561986 4.645118 4.737523 4.6664434.725496 4.839556 4.805186⋯ 4.737448 4.920698 4.717113 4.854343 4.908606 4.922885 4.805825 4.914060 4.750050 4.534838
ZXDC 6.463625 6.438987 5.943827 6.257117 6.236419 6.2369026.092275 6.281176 6.591477⋯ 6.121869 6.070655 6.057929 6.072929 6.399931 6.237216 5.904411 6.104436 6.352106 5.978860
ZYG11A 4.404674 4.453561 4.567541 4.455335 4.156567 4.2476204.482108 4.474580 4.387021⋯ 4.558410 4.433260 4.403834 4.060873 4.401677 4.282175 4.638638 4.667328 4.402229 4.654046
ZYG11B 7.815340 7.924104 7.248541 7.070984 7.551102 7.3240307.685919 8.232459 8.230227⋯ 8.235357 8.016729 7.485061 7.763546 8.450810 8.360157 7.779706 7.854444 7.442570 7.442314
ZYX 10.58707610.83297310.82655910.85545710.73289610.1379929.868625 10.57204010.652598⋯ 10.24639110.51581610.91211310.79033610.19439710.08053910.37406010.47959510.41660510.621231
ZZEF1 6.020592 6.518436 6.078095 6.573438 6.568950 6.2922896.103658 6.074444 6.418770⋯ 6.220754 5.869271 6.071152 6.332825 6.078034 6.338549 6.064245 5.980140 5.944932 6.190253
ZZZ3 6.222600 6.408946 6.384954 6.098321 6.541032 6.4688176.999021 6.952034 6.843417⋯ 6.654303 6.997437 6.724929 6.913740 7.371304 7.190952 6.791898 6.826312 6.607698 6.049828
 
After trying the following command (which did not work): counts["MAPK1",], we looked at the excel file `E-MEXP-2030.counts.tsv` (see below), to check if our double genes were aggregated. 

After trying the following command (which did not work): counts["MAPK1",], we looked at the excel file E-MEXP-2030.counts.tsv (see below), to check if our double genes were aggregated.

In [45]:
 
counts["MAPK1",]
GeneSymbol11-1.antiox11-8.antiox1-1.antiox12-1.Ctr12-8.Ctr13-1.Ctr13-8.Ctr15-1.antiox15-8.antiox⋯46-1.Kiwi46-8.Kiwi50-1.Kiwi50-8.Kiwi56-1.Kiwi56-8.Kiwi57-1.Kiwi57-8.Kiwi7-1.Kiwi7-8.Kiwi
NANANANANANANANANANANA⋯ NANANANANANANANANANA
In [46]:
 
rownames(counts) <- counts$GeneSymbol
counts$GeneSymbol <- NULL
In [47]:
 
head (counts)
11-1.antiox11-8.antiox1-1.antiox12-1.Ctr12-8.Ctr13-1.Ctr13-8.Ctr15-1.antiox15-8.antiox1-8.antiox⋯46-1.Kiwi46-8.Kiwi50-1.Kiwi50-8.Kiwi56-1.Kiwi56-8.Kiwi57-1.Kiwi57-8.Kiwi7-1.Kiwi7-8.Kiwi
A1BG5.5924255.8334895.5277005.3876605.5904555.5386175.7282985.7495065.5464085.616703⋯ 5.5323035.4972245.7485295.5873285.6176005.5341335.5464565.5669245.4980305.350948
A1BG-AS15.7133475.4452785.6214125.7154305.5664945.4118365.3516015.3663585.1237125.764972⋯ 5.2674465.7028615.8014205.4825845.2021005.5971005.2222545.3890265.5289925.137205
A1CF4.2547804.2324574.1866854.2102173.9179164.0249454.0513444.0354284.2527514.124774⋯ 4.3537144.1219054.3001704.1383633.9679014.1924894.0857694.3222984.2298284.227707
A2M5.0960035.0709224.9084884.8832744.7601825.0810644.8918254.2922165.0865764.768463⋯ 5.1078224.9571754.8803224.9418834.7053654.7791524.8632215.1064204.9605725.069796
A2M-AS15.8558856.7598377.0406476.8951347.0561267.4419227.8910316.5304916.2958416.596714⋯ 6.6491487.1214556.3698666.7188057.0864687.1895847.2776617.1195257.0726596.844123
A2ML13.9274693.9812554.0778833.9128243.9833694.0066754.0447244.0274684.1661493.994240⋯ 3.9076363.8549533.9640113.9607264.1132933.8956784.0043963.8666534.0656773.887948
 
Now we will safe this .tsv file under `write.table`.  

Now we will safe this .tsv file under write.table.

In [48]:
 
write.table(counts, 'E-MEXP-2030.counts.tsv', sep="\t", quote=FALSE, col.names=NA)
 
If we now open this file `E-MEXP-2030.counts.tsv` in excel we can see for example that MAPK1 is aggregated into a single gene with median expression. 

If we now open this file E-MEXP-2030.counts.tsv in excel we can see for example that MAPK1 is aggregated into a single gene with median expression.

 
### Quality control

Quality control

 
To have a first impression of the quality of our data we looked at the images of the scanned arrays. Scratches or lighter areas may already indicate poor quality of our data. Because of the big output of this commando we encountered a lot of problems with the commands that followed, therefore we putted # before the command.

To have a first impression of the quality of our data we looked at the images of the scanned arrays. Scratches or lighter areas may already indicate poor quality of our data. Because of the big output of this commando we encountered a lot of problems with the commands that followed, therefore we putted # before the command.

In [1]:
 
#image (rawcel)
 
As far as our knowledge on microarrays goes, we think we can say that none of the arrays have scratches or any other major defects.

As far as our knowledge on microarrays goes, we think we can say that none of the arrays have scratches or any other major defects.

 
Plots allow us to visually inspect our data in order to identify potential quality problems, such as degraded samples, or problems that arise due to array handling or sample processing. Such displays may also reveal systematic biases that should be removed prior to downstream analysis.

Plots allow us to visually inspect our data in order to identify potential quality problems, such as degraded samples, or problems that arise due to array handling or sample processing. Such displays may also reveal systematic biases that should be removed prior to downstream analysis.

 
Quality of our data was further assessed by using the `MDS` tool from the `plotMDS`. `plotMDS` is a useful tool to visualize the relationship between a set of samples and identify unexpected patterns that should be adjusted for during the linear model analysis.

Quality of our data was further assessed by using the MDS tool from the plotMDS. plotMDS is a useful tool to visualize the relationship between a set of samples and identify unexpected patterns that should be adjusted for during the linear model analysis.

 
We investigated all different dimension and found that in the 1st and 3th dimension the effect of diet is the best visible. We can observe that each diet group clusters more togheter, which shows that our data are of good quality. 
​
We are looking at the following:
- Week 8: for the participants with the same diet we expect to see that the data of week 8 is clustered. The participants receiving the kiwi diet are clustered upper right part of the graph, the group receiving the antioxidant diet are clustered in the upper middle part and the control group is clustered more to the left. 

We investigated all different dimension and found that in the 1st and 3th dimension the effect of diet is the best visible. We can observe that each diet group clusters more togheter, which shows that our data are of good quality.

We are looking at the following:

  • Week 8: for the participants with the same diet we expect to see that the data of week 8 is clustered. The participants receiving the kiwi diet are clustered upper right part of the graph, the group receiving the antioxidant diet are clustered in the upper middle part and the control group is clustered more to the left.
In [32]:
 
plotMDS(eset, ndim=4, dim.plot=c(1,3), cex=0.5)
 
A useful operation to perform is to subset the expression matrix that is contained within the ExpressionSet. In this way we are able to individually compare the two different diets (antioxidant and kiwi) against the  control samples.

A useful operation to perform is to subset the expression matrix that is contained within the ExpressionSet. In this way we are able to individually compare the two different diets (antioxidant and kiwi) against the control samples.

 
First we will check again how many genes we are assessing and for how many samples. By using the `print` tool we can see that we have 20389 genes and 58 samples.

First we will check again how many genes we are assessing and for how many samples. By using the print tool we can see that we have 20389 genes and 58 samples.

In [49]:
 
print(dim(counts))
[1] 20389    58
 
Then we make a subset containing all the control and kiwi samples. (later we will do the same for all the control and antioxidant samples.)

Then we make a subset containing all the control and kiwi samples. (later we will do the same for all the control and antioxidant samples.)

In [50]:
 
kiwi <- counts[c('12-1.Ctr', '12-8.Ctr', '13-1.Ctr', '13-8.Ctr', '23-1.Ctr', '23-8.Ctr', '25-1.Ctr', '25-8.Ctr', '37-1.Ctr', '37-8.Ctr', '59.1.Ctr', '59-8.Ctr', '61-1.Ctr', '61-8.Ctr', '78-1.Ctr', '78-8.Ctr', '9-1.Ctr', '92-1.Ctr', '92-8.Ctr', '9-8.Ctr', '18-1.Kiwi', '18-8.Kiwi', '21-1.Kiwi', '21-8.Kiwi', '31-1.Kiwi', '31-8.Kiwi', '3-1.Kiwi', '3-8.Kiwi', '46-1.Kiwi', '46-8.Kiwi', '50-1.Kiwi', '50-8.Kiwi', '56-1.Kiwi', '56-8.Kiwi', '57-1.Kiwi', '57-8.Kiwi', '7-1.Kiwi', '7-8.Kiwi')]
 
To make sure we know how many control and kiwi groups we are assessing against the 20389 genes we use the same `print` tool for `kiwi`. We see that we have in total 38 samples that we will assess against 20389 genes. The research started with the random selection of 10 individuals from each diet group, because of evident hybridization problems in the arrays from one subject in the kiwifruit group they removed this data. This has led to 38 samples instead of 40.

To make sure we know how many control and kiwi groups we are assessing against the 20389 genes we use the same print tool for kiwi. We see that we have in total 38 samples that we will assess against 20389 genes. The research started with the random selection of 10 individuals from each diet group, because of evident hybridization problems in the arrays from one subject in the kiwifruit group they removed this data. This has led to 38 samples instead of 40.

In [51]:
 
print(dim(kiwi))
[1] 20389    38
 
By running the `head` command we get an overview of the expression values of the control and kiwi groups for each gene.

By running the head command we get an overview of the expression values of the control and kiwi groups for each gene.

In [52]:
 
head(kiwi)
12-1.Ctr12-8.Ctr13-1.Ctr13-8.Ctr23-1.Ctr23-8.Ctr25-1.Ctr25-8.Ctr37-1.Ctr37-8.Ctr⋯46-1.Kiwi46-8.Kiwi50-1.Kiwi50-8.Kiwi56-1.Kiwi56-8.Kiwi57-1.Kiwi57-8.Kiwi7-1.Kiwi7-8.Kiwi
A1BG5.3876605.5904555.5386175.7282985.7800495.8598665.5264805.5537525.9104875.478838⋯ 5.5323035.4972245.7485295.5873285.6176005.5341335.5464565.5669245.4980305.350948
A1BG-AS15.7154305.5664945.4118365.3516015.4422575.3092965.1332695.2818325.3483825.391004⋯ 5.2674465.7028615.8014205.4825845.2021005.5971005.2222545.3890265.5289925.137205
A1CF4.2102173.9179164.0249454.0513444.2122994.2977634.0643084.0364203.9820214.110269⋯ 4.3537144.1219054.3001704.1383633.9679014.1924894.0857694.3222984.2298284.227707
A2M4.8832744.7601825.0810644.8918255.0691844.8749584.4884804.7525774.9255524.874758⋯ 5.1078224.9571754.8803224.9418834.7053654.7791524.8632215.1064204.9605725.069796
A2M-AS16.8951347.0561267.4419227.8910316.5432226.6228367.0221496.7238278.2250387.657896⋯ 6.6491487.1214556.3698666.7188057.0864687.1895847.2776617.1195257.0726596.844123
A2ML13.9128243.9833694.0066754.0447244.0034233.7965123.8083994.0307814.0264234.006328⋯ 3.9076363.8549533.9640113.9607264.1132933.8956784.0043963.8666534.0656773.887948
 
Now we can run `plotMDS` to compare control and kiwi groups

Now we can run plotMDS to compare control and kiwi groups

In [37]:
 
plotMDS(kiwi, ndim=4, dim.plot=c(1,3), cex=0.5)
 
The plot shows us that there is more similarity within the two different groups than there is between them. Therefore we can confirm that the data is of good quality. 

The plot shows us that there is more similarity within the two different groups than there is between them. Therefore we can confirm that the data is of good quality.

 
The same procedure as above is now performed to compare the control group against the antioxidant group.

The same procedure as above is now performed to compare the control group against the antioxidant group.

In [53]:
 
antiox <- counts[c('12-1.Ctr', '12-8.Ctr', '13-1.Ctr', '13-8.Ctr', '23-1.Ctr', '23-8.Ctr', '25-1.Ctr', '25-8.Ctr', '37-1.Ctr', '37-8.Ctr', '59.1.Ctr', '59-8.Ctr', '61-1.Ctr', '61-8.Ctr', '78-1.Ctr', '78-8.Ctr', '9-1.Ctr', '92-1.Ctr', '92-8.Ctr', '9-8.Ctr', '11-1.antiox', '11-8.antiox', '1-1.antiox', '15-1.antiox', '15-8.antiox', '1-8.antiox', '26-1.antiox', '26-8.antiox', '30-1.antiox', '30-8.antiox', '32-1.antiox', '32-8.antiox', '34-1.antiox', '34-8.antiox', '4-1.antiox', '4-8.antiox', '66-1.antiox', '66-8.antiox', '85-1.antiox','85-8.antiox')]
In [54]:
 
print (dim(antiox))
[1] 20389    40
In [55]:
 
head (antiox)
12-1.Ctr12-8.Ctr13-1.Ctr13-8.Ctr23-1.Ctr23-8.Ctr25-1.Ctr25-8.Ctr37-1.Ctr37-8.Ctr⋯32-1.antiox32-8.antiox34-1.antiox34-8.antiox4-1.antiox4-8.antiox66-1.antiox66-8.antiox85-1.antiox85-8.antiox
A1BG5.3876605.5904555.5386175.7282985.7800495.8598665.5264805.5537525.9104875.478838⋯ 5.6889745.4074635.5192125.5924195.6679205.9317955.2805475.0808875.7122195.731012
A1BG-AS15.7154305.5664945.4118365.3516015.4422575.3092965.1332695.2818325.3483825.391004⋯ 5.4626615.1656945.4060505.5591155.2820305.4294755.4558115.2999425.5171715.615361
A1CF4.2102173.9179164.0249454.0513444.2122994.2977634.0643084.0364203.9820214.110269⋯ 4.3744554.1926404.3199304.2067904.2049044.0257714.0763234.1980354.3762074.040567
A2M4.8832744.7601825.0810644.8918255.0691844.8749584.4884804.7525774.9255524.874758⋯ 4.8371714.9438945.0963424.8171455.2843064.9827935.2177334.6608235.1429604.972675
A2M-AS16.8951347.0561267.4419227.8910316.5432226.6228367.0221496.7238278.2250387.657896⋯ 6.8895325.7823385.6852546.2386176.4411697.2233877.0169117.1231797.0091737.090708
A2ML13.9128243.9833694.0066754.0447244.0034233.7965123.8083994.0307814.0264234.006328⋯ 4.1561113.9702514.0516134.0192043.9961993.9026803.8569783.9381133.9777503.935797
In [56]:
 
plotMDS(antiox, ndim=4, dim.plot=c(1,3), cex=0.5)
 
Again the plot shows us that there is more similarity within the two different groups than there is between them. Therefore we can confirm that the data is of good quality.

Again the plot shows us that there is more similarity within the two different groups than there is between them. Therefore we can confirm that the data is of good quality.

xxxxxxxxxx
 
Our paper is investigating how antioxidant rich diets affect whole genome expression in human blood cells with emphasis on stress and repair related processes. So genes which are involved in regulation of cellular stress defence, such as DNA repair, apoptosis and hypoxia are of interest. GSEA was used to identify whether an a priori defined set of genes shows concordant statistically significant differences between two biological states. Since we are talking about more then 20 sets of genes with in each set an average of 150 genes, we decided to choose one geneset for further investigation.
​
Here we will asses how the geneset `GCM_APEX1`, involved in DNA and repair pathways, is expressed. The geneset `GCM_APEX1` contains a total of 114 genes:
ACTG1
APEX1
ATP5B
ATP5C1
ATP5F1
BCLAF1
BLMH
CAPRIN1
CAPZA1
CBFB
CCT4
CCT7
CDC123
CFL1
CLIC1
COPS5
CSNK2B
DDX39A
DHPS
DHX9
DUT
EEF1B2
EEF1G
EEF2
EIF3F
EIF4A1
EIF4B
ERH
ESD
FXR1
GDI2
GNB2L1
H2AFZ
H3F3A
HDAC1
HMGN1
HNRNPA1
HNRNPD
HNRNPM
HNRNPU
HPRT1
IK
ILF2
KHDRBS1
LMNB2
MAZ
MCM3
MCM6
NACA
NAP1L1
NASP
NCL
NDUFA12
NONO
NPM1
PCBP1
PCBP2
PFN1
PNN
POLG
POLR2G
POLR2K
PPIA
PPP1CC
PRMT1
PSMA1
PSMA5
PSMB2
PSMD8
PSME1
PTMA
PWP1
QARS
RAD21
RHOA
RPL10A
RPL14
RPL17
RPL18
RPL19
RPL21
RPL27
RPL29
RPL6
RPL7
RPS19
RPS23
RPS24
RPS5
RPS7
RPS8
SET
SLBP
SLC25A3
SLC25A6
SNRPA
SNRPA1
SNRPD2
SNRPD3
SNRPE
SNRPF
SRSF2
SRSF3
SRSF4
SRSF9
SUMO2
TAF9
TCP1
TIAL1
TRA2B
TRIM28
YWHAQ
YWHAZ
ZNHIT3

Our paper is investigating how antioxidant rich diets affect whole genome expression in human blood cells with emphasis on stress and repair related processes. So genes which are involved in regulation of cellular stress defence, such as DNA repair, apoptosis and hypoxia are of interest. GSEA was used to identify whether an a priori defined set of genes shows concordant statistically significant differences between two biological states. Since we are talking about more then 20 sets of genes with in each set an average of 150 genes, we decided to choose one geneset for further investigation.

Here we will asses how the geneset GCM_APEX1, involved in DNA and repair pathways, is expressed. The geneset GCM_APEX1 contains a total of 114 genes: ACTG1 APEX1 ATP5B ATP5C1 ATP5F1 BCLAF1 BLMH CAPRIN1 CAPZA1 CBFB CCT4 CCT7 CDC123 CFL1 CLIC1 COPS5 CSNK2B DDX39A DHPS DHX9 DUT EEF1B2 EEF1G EEF2 EIF3F EIF4A1 EIF4B ERH ESD FXR1 GDI2 GNB2L1 H2AFZ H3F3A HDAC1 HMGN1 HNRNPA1 HNRNPD HNRNPM HNRNPU HPRT1 IK ILF2 KHDRBS1 LMNB2 MAZ MCM3 MCM6 NACA NAP1L1 NASP NCL NDUFA12 NONO NPM1 PCBP1 PCBP2 PFN1 PNN POLG POLR2G POLR2K PPIA PPP1CC PRMT1 PSMA1 PSMA5 PSMB2 PSMD8 PSME1 PTMA PWP1 QARS RAD21 RHOA RPL10A RPL14 RPL17 RPL18 RPL19 RPL21 RPL27 RPL29 RPL6 RPL7 RPS19 RPS23 RPS24 RPS5 RPS7 RPS8 SET SLBP SLC25A3 SLC25A6 SNRPA SNRPA1 SNRPD2 SNRPD3 SNRPE SNRPF SRSF2 SRSF3 SRSF4 SRSF9 SUMO2 TAF9 TCP1 TIAL1 TRA2B TRIM28 YWHAQ YWHAZ ZNHIT3

(Our paper looks at the following genes: For this intervention the following genes were of interest:

CKM, NTN3, GPR173, NHEDC1, CTNND1

(ik heb dit uit de resultaten van de paper, ik weet niet of ik die dus al meteen mag kiezen eig?)

#MANON: ik denk dus niet dat we naar de resultaten mogen kijken.. in de paper staat dat ze verschillende genesets hebben gekozen, je vind in de supplementary hiervan excel files terug, ik heb 1 van die geneset genomen en de genen ervan opgezocht op GSEA (dit is wat ze in de paper ook hebben gedaan denk ik). T'is een random gekozen geneset en de kans dat er 1 van de genen uit de resultaten in zal staan is klein omdat ze zoveel genesets onderzoeken, maar ik denk wel dat dit een juistere manier is dan al meteen naar de resultaten te kijken)

In [57]:
 
genesofinterest <- c("ACTG1",
"APEX1",
"ATP5B",
"ATP5C1",
"ATP5F1",
"BCLAF1",
"BLMH",
"CAPRIN1",
"CAPZA1",
"CBFB",
"CCT4",
"CCT7",
"CDC123",
"CFL1",
"CLIC1",
"COPS5",
"CSNK2B",
"DDX39A",
"DHPS",
"DHX9",
"DUT",
"EEF1B2",
"EEF1G",
"EEF2",
"EIF3F",
"EIF4A1",
"EIF4B",
"ERH",
"ESD",
"FXR1",
"GDI2",
"GNB2L1",
"H2AFZ",
"H3F3A",
"HDAC1",
"HMGN1",
"HNRNPA1",
"HNRNPD",
"HNRNPM",
"HNRNPU",
"HPRT1",
"IK",
"ILF2",
"KHDRBS1",
"LMNB2",
"MAZ",
"MCM3",
"MCM6",
"NACA",
"NAP1L1",
"NASP",
"NCL",
"NDUFA12",
"NONO",
"NPM1",
"PCBP1",
"PCBP2",
"PFN1",
"PNN",
"POLG",
"POLR2G",
"POLR2K",
"PPIA",
"PPP1CC",
"PRMT1",
"PSMA1",
"PSMA5",
"PSMB2",
"PSMD8",
"PSME1",
"PTMA",
"PWP1",
"QARS",
"RAD21",
"RHOA",
"RPL10A",
"RPL14",
"RPL17",
"RPL18",
"RPL19",
"RPL21",
"RPL27",
"RPL29",
"RPL6",
"RPL7",
"RPS19",
"RPS23",
"RPS24",
"RPS5",
"RPS7",
"RPS8",
"SET",
"SLBP",
"SLC25A3",
"SLC25A6",
"SNRPA",
"SNRPA1",
"SNRPD2",
"SNRPD3",
"SNRPE",
"SNRPF",
"SRSF2",
"SRSF3",
"SRSF4",
"SRSF9",
"SUMO2",
"TAF9",
"TCP1",
"TIAL1",
"TRA2B",
"TRIM28",
"YWHAQ",
"YWHAZ",
"ZNHIT3")
In [58]:
 
genesofinterest
  1. 'ACTG1'
  2. 'APEX1'
  3. 'ATP5B'
  4. 'ATP5C1'
  5. 'ATP5F1'
  6. 'BCLAF1'
  7. 'BLMH'
  8. 'CAPRIN1'
  9. 'CAPZA1'
  10. 'CBFB'
  11. 'CCT4'
  12. 'CCT7'
  13. 'CDC123'
  14. 'CFL1'
  15. 'CLIC1'
  16. 'COPS5'
  17. 'CSNK2B'
  18. 'DDX39A'
  19. 'DHPS'
  20. 'DHX9'
  21. 'DUT'
  22. 'EEF1B2'
  23. 'EEF1G'
  24. 'EEF2'
  25. 'EIF3F'
  26. 'EIF4A1'
  27. 'EIF4B'
  28. 'ERH'
  29. 'ESD'
  30. 'FXR1'
  31. 'GDI2'
  32. 'GNB2L1'
  33. 'H2AFZ'
  34. 'H3F3A'
  35. 'HDAC1'
  36. 'HMGN1'
  37. 'HNRNPA1'
  38. 'HNRNPD'
  39. 'HNRNPM'
  40. 'HNRNPU'
  41. 'HPRT1'
  42. 'IK'
  43. 'ILF2'
  44. 'KHDRBS1'
  45. 'LMNB2'
  46. 'MAZ'
  47. 'MCM3'
  48. 'MCM6'
  49. 'NACA'
  50. 'NAP1L1'
  51. 'NASP'
  52. 'NCL'
  53. 'NDUFA12'
  54. 'NONO'
  55. 'NPM1'
  56. 'PCBP1'
  57. 'PCBP2'
  58. 'PFN1'
  59. 'PNN'
  60. 'POLG'
  61. 'POLR2G'
  62. 'POLR2K'
  63. 'PPIA'
  64. 'PPP1CC'
  65. 'PRMT1'
  66. 'PSMA1'
  67. 'PSMA5'
  68. 'PSMB2'
  69. 'PSMD8'
  70. 'PSME1'
  71. 'PTMA'
  72. 'PWP1'
  73. 'QARS'
  74. 'RAD21'
  75. 'RHOA'
  76. 'RPL10A'
  77. 'RPL14'
  78. 'RPL17'
  79. 'RPL18'
  80. 'RPL19'
  81. 'RPL21'
  82. 'RPL27'
  83. 'RPL29'
  84. 'RPL6'
  85. 'RPL7'
  86. 'RPS19'
  87. 'RPS23'
  88. 'RPS24'
  89. 'RPS5'
  90. 'RPS7'
  91. 'RPS8'
  92. 'SET'
  93. 'SLBP'
  94. 'SLC25A3'
  95. 'SLC25A6'
  96. 'SNRPA'
  97. 'SNRPA1'
  98. 'SNRPD2'
  99. 'SNRPD3'
  100. 'SNRPE'
  101. 'SNRPF'
  102. 'SRSF2'
  103. 'SRSF3'
  104. 'SRSF4'
  105. 'SRSF9'
  106. 'SUMO2'
  107. 'TAF9'
  108. 'TCP1'
  109. 'TIAL1'
  110. 'TRA2B'
  111. 'TRIM28'
  112. 'YWHAQ'
  113. 'YWHAZ'
  114. 'ZNHIT3'
 
First we asses our `genesofinterest` against the control and kiwi group: 

First we asses our genesofinterest against the control and kiwi group:

In [59]:
 
kiwi[genesofinterest,]
12-1.Ctr12-8.Ctr13-1.Ctr13-8.Ctr23-1.Ctr23-8.Ctr25-1.Ctr25-8.Ctr37-1.Ctr37-8.Ctr⋯46-1.Kiwi46-8.Kiwi50-1.Kiwi50-8.Kiwi56-1.Kiwi56-8.Kiwi57-1.Kiwi57-8.Kiwi7-1.Kiwi7-8.Kiwi
ACTG1P17 4.598034 4.144675 4.131724 4.527505 4.170071 4.242134 4.475585 3.974860 4.431956 3.914038⋯ 3.861717 3.944343 4.430184 4.140525 4.232223 4.138384 4.409113 4.246821 4.160707 4.248617
APEX110.20263810.18052210.24392510.44585110.159741 9.83793210.46091510.24173910.259806 9.801165⋯ 9.98024910.30321810.31309810.28901110.20303110.289972 9.99853710.16189610.245290 9.908300
ATP5B10.99074710.94592811.10778811.14807510.71384210.66489611.06929510.89570610.94397010.831269⋯ 10.80321110.95537811.02178011.10456110.92157810.76736010.84083010.89210611.00934510.771191
ATP5C1 9.431655 9.462834 9.637338 9.961367 9.696368 9.231877 9.896862 9.68681510.239670 9.589269⋯ 9.674825 9.959916 9.840314 9.48222910.049562 9.647971 9.368268 9.251196 9.596591 9.039475
ATP5F1 7.095742 7.380324 7.225142 7.508084 7.356188 7.224247 7.474940 7.416188 7.470497 7.154070⋯ 7.069932 7.408106 7.153770 7.071689 7.550357 7.198883 7.017767 6.877242 7.469962 7.260144
BCLAF1 7.041668 6.942965 7.217972 7.081314 6.858340 7.071389 7.323480 6.796331 6.710335 7.112384⋯ 6.605170 6.928253 6.247971 6.735420 6.972009 7.175182 6.682068 6.485574 6.766251 6.344948
BLMH 6.958106 7.110517 6.879408 7.020401 7.129938 6.785694 7.176259 6.995206 7.340719 6.873403⋯ 6.818938 7.153813 7.032713 7.209829 7.222627 7.407263 6.653852 6.528479 7.017956 7.030289
CAPRIN1 4.943859 5.123849 5.058168 5.430893 5.163445 4.995339 5.498225 5.308844 5.174739 5.217385⋯ 5.474944 5.522252 5.198007 5.551823 5.696001 5.674677 5.285131 5.288148 5.063596 4.832469
CAPZA1 7.027403 7.224426 7.212227 7.348259 7.334759 7.323755 7.696220 7.456107 7.252040 7.425401⋯ 7.359972 7.469795 7.386294 7.409893 7.644831 7.585057 7.200295 7.113765 7.166324 6.983771
CBFB 7.779715 8.096784 7.862087 8.182497 8.085496 7.932574 8.378711 8.083431 8.417203 8.107045⋯ 8.020608 8.161046 8.177585 8.288930 8.235751 8.524556 8.073765 8.153180 8.050819 7.840789
CCT4 8.128801 8.133751 7.889757 8.213570 8.009046 7.882618 8.141789 8.065713 8.157296 7.972180⋯ 7.979252 8.244479 7.957213 8.144789 8.221651 8.159828 7.991988 8.081042 8.034041 7.861495
CCT7 9.576892 9.623021 9.593395 9.857308 9.513528 9.224355 9.703133 9.471532 9.529618 9.380645⋯ 9.256015 9.645513 9.553531 9.841078 9.701289 9.494774 9.357224 9.436845 9.609196 9.316607
CDC123 9.761767 9.748358 9.938272 9.824731 9.802187 9.870774 9.882917 9.803407 9.376252 9.544351⋯ 9.303583 9.531085 9.612855 9.435380 9.626715 9.711969 9.258796 9.387094 9.683739 9.346394
CFL112.31372612.30669012.07546011.98141912.18462812.36614412.13427112.26411012.04837312.437532⋯ 12.15430812.24826612.15485012.42163011.89292412.20230412.27645212.28432311.99807012.133781
CLIC111.91836311.91437311.92432812.01686811.70602612.02712712.09593212.00033811.80756311.984201⋯ 11.62660211.89787011.47196211.59432311.70336811.52169411.12711411.19155511.87273411.550873
COPS5 8.229837 8.158238 8.595330 8.613668 8.232612 8.263052 8.748825 8.494520 8.406332 8.354199⋯ 8.245033 8.570181 8.065506 8.023044 8.630941 8.387217 8.026602 7.718959 8.562341 7.936378
CSNK2B10.65218610.73293510.57673210.44383710.56188210.54719610.59661110.53294410.51682110.403674⋯ 10.25824010.47950710.63831110.50845210.23309510.38661610.30606410.48377610.42818710.394862
DDX39A 9.250031 9.423326 9.219843 9.269237 9.081280 8.950179 9.365843 9.221273 9.186577 8.906149⋯ 9.036285 9.269183 9.237637 9.302485 9.419557 9.162150 9.064395 8.956466 9.295839 8.963862
DHPS 8.521901 8.535901 8.446910 8.371541 8.463909 8.374628 8.445729 8.385587 8.239104 8.303501⋯ 7.930334 8.302998 8.483869 8.583416 8.188464 8.405322 8.321745 8.458191 8.376988 8.292224
DHX9 6.561906 6.640835 6.789127 6.755276 6.508288 6.436279 7.480977 6.581886 6.961242 7.354892⋯ 6.376122 5.889565 5.354705 6.687985 5.782527 6.433941 6.385551 5.706458 5.533331 5.912611
DUT 9.95103310.098867 9.834811 9.961199 9.849523 9.356431 9.947649 9.62843110.51848410.082287⋯ 9.484969 9.840304 9.849967 9.78876710.145463 9.813632 9.633982 9.505208 9.880874 9.493579
NA NA NA NA NA NA NA NA NA NA NA⋯ NA NA NA NA NA NA NA NA NA NA
NA.1 NA NA NA NA NA NA NA NA NA NA⋯ NA NA NA NA NA NA NA NA NA NA
EEF212.49071812.61977212.57171712.56847212.54323612.41242312.54724612.49517012.49454812.461748⋯ 12.60313912.66175612.79031312.85202812.75296412.82388512.54051912.64005012.48468612.391495
EIF3F 4.490921 4.837754 4.656561 4.766058 4.482553 4.439436 4.826126 4.527407 4.725399 4.545797⋯ 4.621461 5.075906 4.568517 4.740415 5.211338 5.057965 4.269626 4.638127 4.706889 4.402962
NA.2 NA NA NA NA NA NA NA NA NA NA⋯ NA NA NA NA NA NA NA NA NA NA
EIF4B 9.629424 9.583099 9.96611610.111700 9.793284 9.47556110.139558 9.78098910.044522 9.535230⋯ 9.386370 9.600284 9.281715 9.421504 9.522121 9.611258 9.356078 9.244258 9.601080 9.430256
ERH 9.352509 9.450468 9.87896610.020481 9.834243 9.110401 9.974702 9.835019 9.962831 9.243326⋯ 9.296436 9.713448 9.688619 9.326973 9.843112 9.712529 9.159624 8.721133 9.886947 9.292653
ESD 5.180356 5.129306 5.132015 5.219265 5.154718 5.279020 5.634926 5.291608 5.434288 5.276912⋯ 5.339686 5.494682 5.309182 5.321464 5.413868 5.358377 5.060297 5.234073 5.092303 4.961999
FXR1 6.464551 6.775833 7.073875 7.110298 6.848111 6.723290 7.285080 6.959333 7.122980 6.934733⋯ 6.620613 7.020310 6.449721 6.695849 6.864030 7.177792 6.597614 6.545589 6.991648 6.610107
⋮⋮⋮⋮⋮⋮⋮⋮⋮⋮⋮⋱⋮⋮⋮⋮⋮⋮⋮⋮⋮⋮
RPL711.13204511.22167711.70589712.14171912.02295711.10733712.16897911.92167712.09606511.140241⋯ 11.23189811.83321610.97077610.23773512.11831711.42247610.95488110.58513011.69189910.699608
RPS1913.08484713.16667813.22269513.25058413.19221312.77254713.18141213.10195013.13049912.818447⋯ 12.63096112.87779213.10278413.04469213.16338413.09485412.88922212.96085213.14053912.894209
RPS2310.40066210.322244 9.591664 9.752468 9.809569 9.65390810.66177810.48393510.076373 9.535870⋯ 9.71523110.188616 9.789076 9.462428 9.348630 9.291240 9.749250 9.758143 9.622396 9.408247
RPS24 9.025691 9.286390 9.82105310.090503 9.719053 9.06705510.074842 9.668643 9.832516 8.857935⋯ 9.037603 9.614838 9.028190 8.63343010.027233 9.520653 8.709515 8.562825 9.726993 8.997332
RPS512.63093012.73083512.97176812.99840712.99988212.67514213.00267012.95847612.98454012.554642⋯ 12.55155212.80783812.90748012.76146213.06673012.96079412.82256912.77200412.85035812.622667
RPS7 9.84815010.10952111.04859011.39740111.236828 9.88487611.32625210.85398211.361908 9.356301⋯ 10.05043710.52953210.317256 9.46483811.57957310.626569 9.933746 9.43931510.844480 9.407537
RPS8 3.535404 3.444016 3.882133 3.577047 3.631715 3.556066 3.622309 3.423904 3.589582 3.474868⋯ 3.553477 3.537961 3.621627 3.674464 3.645591 3.477591 3.534939 3.624690 3.496069 3.534578
SET10.71798110.74873910.83283610.95109210.63046310.41523510.81738810.73456210.82870310.474902⋯ 10.40299810.48453510.82916710.71337610.75400610.71156910.64118010.59734710.79408010.450252
SLBP 8.867439 9.107420 8.768780 9.001410 8.893120 8.981793 9.277295 9.170938 8.861416 9.046350⋯ 8.927105 9.219343 8.376579 8.820722 9.204970 9.239290 8.882375 8.887835 8.893203 8.564323
SLC25A3 8.827737 8.916767 9.009871 9.084468 8.848829 8.647023 8.862238 8.809013 8.831022 8.814414⋯ 8.795346 8.863339 8.984213 9.033222 8.978049 8.920380 8.827954 8.905997 8.792330 8.858279
SLC25A611.99883812.13107012.02162212.19004912.01269811.66828412.21775411.97001912.02671311.748863⋯ 11.96694912.16675711.98707112.07269511.94424612.04879611.85155312.00960811.96790211.714703
SNRPA 8.974676 9.024571 8.626832 8.935581 8.871738 8.584063 8.917742 8.830119 8.874754 8.506355⋯ 8.515052 8.689818 8.972038 9.126374 8.690463 8.670650 8.750613 8.817547 8.670274 8.550894
SNRPA1 8.037767 8.195827 8.236718 8.418805 7.861252 7.872553 8.269016 8.004462 7.967862 7.707120⋯ 7.901646 7.992054 8.252486 8.173982 7.986277 8.047743 7.841315 7.833960 8.069712 7.791246
SNRPD210.16339410.33319310.57811810.77322610.572862 9.77480710.56334810.41670910.363094 9.063042⋯ 9.071481 9.762181 9.562514 8.54204510.202723 9.614029 9.036151 9.09317110.622085 9.732227
SNRPD3 9.224916 9.336895 9.476498 9.449563 9.169727 8.960949 9.459702 9.199629 9.175166 8.553057⋯ 8.599477 8.895358 8.961551 8.340426 8.964949 8.940547 8.545553 8.698042 9.281043 8.976888
SNRPE 4.985467 4.692592 5.128369 5.462476 4.785085 4.714912 5.624242 5.358270 4.820860 4.410470⋯ 4.840289 5.366633 4.505641 4.522508 5.224746 4.941894 4.486328 4.484684 5.267683 4.478359
SNRPF 8.278538 8.264440 8.314096 8.602520 8.176492 7.816596 8.365847 8.046927 8.262001 8.130851⋯ 7.647863 8.336767 7.912526 7.864148 8.351154 8.121210 7.978288 8.025124 8.439412 7.837942
NA.7 NA NA NA NA NA NA NA NA NA NA⋯ NA NA NA NA NA NA NA NA NA NA
SRSF3 6.658336 7.082822 7.275474 7.775081 7.308416 7.027405 7.549775 7.904101 7.546213 7.355974⋯ 7.401161 7.721510 7.156215 7.625546 7.807079 7.941253 7.396843 7.384610 7.226618 6.764205
SRSF4 7.083232 7.755122 7.057857 7.529608 7.054527 7.394535 7.595755 6.925636 7.255967 7.350571⋯ 7.019888 6.710007 6.149092 6.798856 6.478277 7.217259 6.314009 6.624825 6.811350 6.162724
NA.8 NA NA NA NA NA NA NA NA NA NA⋯ NA NA NA NA NA NA NA NA NA NA
NA.9 NA NA NA NA NA NA NA NA NA NA⋯ NA NA NA NA NA NA NA NA NA NA
TAF9B 7.469178 7.360007 7.697436 7.528207 7.377986 7.482142 7.191716 7.066424 7.188387 7.454416⋯ 7.163954 7.249446 7.199130 7.612139 7.450952 7.159350 7.265640 6.797606 7.264668 7.194365
NA.10 NA NA NA NA NA NA NA NA NA NA⋯ NA NA NA NA NA NA NA NA NA NA
TIAL1 6.698830 6.910362 6.948172 7.041572 6.844647 6.814870 7.176419 6.958382 7.200757 7.009422⋯ 7.166366 7.309863 6.938798 7.297144 7.592088 7.475438 7.066570 7.257136 6.999313 6.695025
TRA2B 7.309223 7.500606 7.381953 7.590068 7.353654 7.097356 7.695143 7.472670 8.003124 7.758750⋯ 7.471894 7.787913 7.489819 7.872629 7.647658 7.728949 7.376477 7.209085 7.533267 7.062942
TRIM28 9.551891 9.262990 9.321959 9.282516 9.419976 9.154517 9.359370 9.251821 9.177954 9.030740⋯ 8.904198 9.478787 9.602127 9.588875 9.404694 9.218726 9.258295 9.465062 9.528093 9.235844
YWHAQ10.12960610.36498710.26864010.71327810.076602 9.78304810.43176110.23351710.55383510.347818⋯ 10.14347810.62826910.16031010.31393710.50578110.49775210.29167610.24178410.196694 9.903737
YWHAZ10.79171511.01684410.94617011.18723511.08488811.13514211.30795811.19340710.91886611.186507⋯ 11.01735311.14246110.41156411.10446311.14359811.33214011.21907111.00036710.75188410.566480
ZNHIT3 6.879580 7.246443 7.414309 7.927222 7.602468 6.926824 8.082919 7.804751 7.791309 7.104774⋯ 7.385424 7.703421 7.076643 7.018366 7.912593 7.627070 7.043650 7.026418 7.462584 6.788205
 
Our paper discovered that following genes were upregulated in the kiwi diet intervention group: 
​
CKM, NTN3, GPR173, NHEDC1, CTNND1
​
We selectected these genes to see if they are upregulated. At first sight the CKM, NTN3 and GPR173 genes don't seem to be upregulated. NHEDC1 and CTNND1 were not found in the genelist that we used. 

Our paper discovered that following genes were upregulated in the kiwi diet intervention group:

CKM, NTN3, GPR173, NHEDC1, CTNND1

We selectected these genes to see if they are upregulated. At first sight the CKM, NTN3 and GPR173 genes don't seem to be upregulated. NHEDC1 and CTNND1 were not found in the genelist that we used.

 
At first sight it is difficult to tell if there is an upregulation in gene expression, expression values of both Control and Kiwi intervention seem to be close to eachother.

At first sight it is difficult to tell if there is an upregulation in gene expression, expression values of both Control and Kiwi intervention seem to be close to eachother.

 
Now we asses our `genesofinterest` against the control and antioxidant group:

Now we asses our genesofinterest against the control and antioxidant group:

In [60]:
 
antiox[genesofinterest,]
12-1.Ctr12-8.Ctr13-1.Ctr13-8.Ctr23-1.Ctr23-8.Ctr25-1.Ctr25-8.Ctr37-1.Ctr37-8.Ctr⋯32-1.antiox32-8.antiox34-1.antiox34-8.antiox4-1.antiox4-8.antiox66-1.antiox66-8.antiox85-1.antiox85-8.antiox
ACTG1P17 4.598034 4.144675 4.131724 4.527505 4.170071 4.242134 4.475585 3.974860 4.431956 3.914038⋯ 4.273828 4.314873 4.137640 4.193859 4.200693 4.381279 3.937280 3.856534 4.184290 3.951361
APEX110.20263810.18052210.24392510.44585110.159741 9.83793210.46091510.24173910.259806 9.801165⋯ 9.996479 9.808898 9.44844510.21423410.42830010.428085 9.868183 9.71623710.15487410.270195
ATP5B10.99074710.94592811.10778811.14807510.71384210.66489611.06929510.89570610.94397010.831269⋯ 10.94473010.58594010.70675710.95773711.11116811.11834710.73157710.66545410.96523811.074908
ATP5C1 9.431655 9.462834 9.637338 9.961367 9.696368 9.231877 9.896862 9.68681510.239670 9.589269⋯ 9.127416 9.362200 8.992194 9.320171 9.250843 9.667873 9.315272 9.409347 9.278487 9.434979
ATP5F1 7.095742 7.380324 7.225142 7.508084 7.356188 7.224247 7.474940 7.416188 7.470497 7.154070⋯ 7.008087 7.395927 7.110450 7.158874 7.274224 7.141939 7.033188 6.912631 6.966507 7.178717
BCLAF1 7.041668 6.942965 7.217972 7.081314 6.858340 7.071389 7.323480 6.796331 6.710335 7.112384⋯ 7.132285 7.369790 7.144392 6.696336 6.537946 7.173885 7.235803 7.146252 6.590412 6.788150
BLMH 6.958106 7.110517 6.879408 7.020401 7.129938 6.785694 7.176259 6.995206 7.340719 6.873403⋯ 6.852276 6.868337 7.184852 7.162389 7.218899 6.957619 6.619548 6.559843 7.080169 7.164641
CAPRIN1 4.943859 5.123849 5.058168 5.430893 5.163445 4.995339 5.498225 5.308844 5.174739 5.217385⋯ 5.218703 5.529333 5.175740 5.116895 5.208159 5.243520 5.128562 5.281841 5.255182 5.426304
CAPZA1 7.027403 7.224426 7.212227 7.348259 7.334759 7.323755 7.696220 7.456107 7.252040 7.425401⋯ 7.285108 7.334226 7.055389 7.004239 6.892249 7.227499 7.483801 7.404351 7.260771 7.168282
CBFB 7.779715 8.096784 7.862087 8.182497 8.085496 7.932574 8.378711 8.083431 8.417203 8.107045⋯ 7.748643 8.486245 8.047556 8.034210 7.860535 7.853547 7.949202 8.086963 8.223001 8.030817
CCT4 8.128801 8.133751 7.889757 8.213570 8.009046 7.882618 8.141789 8.065713 8.157296 7.972180⋯ 7.862737 8.035195 7.902004 7.937200 8.186839 8.030953 7.830371 7.941990 7.782769 7.934023
CCT7 9.576892 9.623021 9.593395 9.857308 9.513528 9.224355 9.703133 9.471532 9.529618 9.380645⋯ 9.490670 9.268185 9.306305 9.492660 9.792112 9.707411 9.274208 9.152507 9.498902 9.598194
CDC123 9.761767 9.748358 9.938272 9.824731 9.802187 9.870774 9.882917 9.803407 9.376252 9.544351⋯ 9.977390 9.460243 9.593440 9.506969 9.398347 9.798672 9.429073 9.234222 9.637773 9.386115
CFL112.31372612.30669012.07546011.98141912.18462812.36614412.13427112.26411012.04837312.437532⋯ 12.35078312.19453912.34090912.28898812.08647511.90109712.34356612.17331112.39752712.055487
CLIC111.91836311.91437311.92432812.01686811.70602612.02712712.09593212.00033811.80756311.984201⋯ 11.79572511.46166411.76304311.74583011.45801711.89219211.84351611.63192111.94285911.956028
COPS5 8.229837 8.158238 8.595330 8.613668 8.232612 8.263052 8.748825 8.494520 8.406332 8.354199⋯ 7.955151 8.053086 8.024973 8.065474 8.073088 8.458604 7.959290 7.892709 7.897035 8.282533
CSNK2B10.65218610.73293510.57673210.44383710.56188210.54719610.59661110.53294410.51682110.403674⋯ 10.48889610.22790810.41832810.52845410.56641610.52728310.46869710.43252210.83573710.576609
DDX39A 9.250031 9.423326 9.219843 9.269237 9.081280 8.950179 9.365843 9.221273 9.186577 8.906149⋯ 8.876114 8.824891 8.799618 9.069984 9.155447 9.323450 8.935858 8.941746 9.146781 9.260628
DHPS 8.521901 8.535901 8.446910 8.371541 8.463909 8.374628 8.445729 8.385587 8.239104 8.303501⋯ 8.291859 8.134017 8.143670 8.355008 8.307536 8.434346 8.144471 7.950855 8.250377 8.175402
DHX9 6.561906 6.640835 6.789127 6.755276 6.508288 6.436279 7.480977 6.581886 6.961242 7.354892⋯ 6.862672 7.120643 6.633407 6.749027 6.106502 6.492977 7.441328 7.198668 6.302446 5.587677
DUT 9.95103310.098867 9.834811 9.961199 9.849523 9.356431 9.947649 9.62843110.51848410.082287⋯ 9.717373 9.294535 9.374440 9.675917 9.68139010.266957 9.350816 9.467654 9.428127 9.441789
NA NA NA NA NA NA NA NA NA NA NA⋯ NA NA NA NA NA NA NA NA NA NA
NA.1 NA NA NA NA NA NA NA NA NA NA⋯ NA NA NA NA NA NA NA NA NA NA
EEF212.49071812.61977212.57171712.56847212.54323612.41242312.54724612.49517012.49454812.461748⋯ 12.54233112.52110312.42593912.56049012.64639512.54280812.57582112.58695412.60622612.609944
EIF3F 4.490921 4.837754 4.656561 4.766058 4.482553 4.439436 4.826126 4.527407 4.725399 4.545797⋯ 4.441729 5.165029 4.632936 4.562176 4.689810 4.551833 4.462583 4.560578 4.379780 4.723211
NA.2 NA NA NA NA NA NA NA NA NA NA⋯ NA NA NA NA NA NA NA NA NA NA
EIF4B 9.629424 9.583099 9.96611610.111700 9.793284 9.47556110.139558 9.78098910.044522 9.535230⋯ 9.89939210.000228 9.430103 9.589647 9.781569 9.38686010.019340 9.713232 9.400915 9.191109
ERH 9.352509 9.450468 9.87896610.020481 9.834243 9.110401 9.974702 9.835019 9.962831 9.243326⋯ 9.362283 9.339226 8.934361 9.417776 8.741058 9.500594 9.016431 9.134835 9.305374 9.358116
ESD 5.180356 5.129306 5.132015 5.219265 5.154718 5.279020 5.634926 5.291608 5.434288 5.276912⋯ 5.222888 5.377101 5.410970 5.175641 4.948011 5.222043 5.475385 5.359034 5.170175 5.394805
FXR1 6.464551 6.775833 7.073875 7.110298 6.848111 6.723290 7.285080 6.959333 7.122980 6.934733⋯ 6.805878 7.155538 6.866982 6.948417 6.630293 6.707852 6.957117 6.708441 6.395648 6.495126
⋮⋮⋮⋮⋮⋮⋮⋮⋮⋮⋮⋱⋮⋮⋮⋮⋮⋮⋮⋮⋮⋮
RPL711.13204511.22167711.70589712.14171912.02295711.10733712.16897911.92167712.09606511.140241⋯ 11.07640311.64895610.60139011.15383011.15457811.68297610.81310410.41249410.34812910.784567
RPS1913.08484713.16667813.22269513.25058413.19221312.77254713.18141213.10195013.13049912.818447⋯ 13.10553712.94490212.93935112.93175013.14799813.14428612.86788112.78446112.88638512.846145
RPS2310.40066210.322244 9.591664 9.752468 9.809569 9.65390810.66177810.48393510.076373 9.535870⋯ 10.23723410.49688910.19082910.414790 9.781505 9.331181 9.623049 8.986945 9.170181 9.527680
RPS24 9.025691 9.286390 9.82105310.090503 9.719053 9.06705510.074842 9.668643 9.832516 8.857935⋯ 9.198668 9.395947 8.950447 9.187831 8.999875 9.454653 8.710276 8.361336 8.457070 8.958942
RPS512.63093012.73083512.97176812.99840712.99988212.67514213.00267012.95847612.98454012.554642⋯ 12.91383612.72383512.72096512.83939812.84012112.95113312.85684512.67727012.72397612.556707
RPS7 9.84815010.10952111.04859011.39740111.236828 9.88487611.32625210.85398211.361908 9.356301⋯ 9.95206610.247442 9.40230410.079950 9.52612810.728005 9.572796 9.580863 9.236837 9.415769
RPS8 3.535404 3.444016 3.882133 3.577047 3.631715 3.556066 3.622309 3.423904 3.589582 3.474868⋯ 3.624137 3.698289 3.596376 3.414166 3.547145 3.492487 3.547420 3.602748 3.458375 3.624273
SET10.71798110.74873910.83283610.95109210.63046310.41523510.81738810.73456210.82870310.474902⋯ 10.60471710.46527610.41972410.54329410.76772610.74930210.51638410.43573010.55878210.639824
SLBP 8.867439 9.107420 8.768780 9.001410 8.893120 8.981793 9.277295 9.170938 8.861416 9.046350⋯ 8.704935 9.334308 8.882027 8.877301 9.127041 8.979292 8.881535 9.057906 8.860086 8.905411
SLC25A3 8.827737 8.916767 9.009871 9.084468 8.848829 8.647023 8.862238 8.809013 8.831022 8.814414⋯ 8.914388 8.669168 8.932229 8.811857 8.933059 9.029566 8.848472 8.715657 8.930927 8.957394
SLC25A611.99883812.13107012.02162212.19004912.01269811.66828412.21775411.97001912.02671311.748863⋯ 12.30229812.17303511.75529511.95606012.04875512.10883411.89772011.74143612.06802911.985750
SNRPA 8.974676 9.024571 8.626832 8.935581 8.871738 8.584063 8.917742 8.830119 8.874754 8.506355⋯ 8.741219 8.359359 8.411539 8.809363 9.062320 9.055564 8.477330 8.423049 8.882332 8.878995
SNRPA1 8.037767 8.195827 8.236718 8.418805 7.861252 7.872553 8.269016 8.004462 7.967862 7.707120⋯ 8.116075 7.963736 7.681246 8.041973 8.166249 8.203216 7.706878 7.641058 7.782419 7.947301
SNRPD210.16339410.33319310.57811810.77322610.572862 9.77480710.56334810.41670910.363094 9.063042⋯ 9.944667 9.773200 9.517842 9.95654610.14312410.545628 9.364576 8.587455 8.903527 9.596540
SNRPD3 9.224916 9.336895 9.476498 9.449563 9.169727 8.960949 9.459702 9.199629 9.175166 8.553057⋯ 9.237886 8.817398 8.844018 9.100501 8.961787 9.269864 8.890368 8.240141 8.896407 9.161764
SNRPE 4.985467 4.692592 5.128369 5.462476 4.785085 4.714912 5.624242 5.358270 4.820860 4.410470⋯ 4.926914 4.971242 4.695406 4.692106 4.813821 4.943155 4.698582 4.607931 4.447333 5.120896
SNRPF 8.278538 8.264440 8.314096 8.602520 8.176492 7.816596 8.365847 8.046927 8.262001 8.130851⋯ 8.011249 8.069825 7.862086 7.952817 8.293904 8.426703 7.705221 7.817902 7.842834 8.122217
NA.7 NA NA NA NA NA NA NA NA NA NA⋯ NA NA NA NA NA NA NA NA NA NA
SRSF3 6.658336 7.082822 7.275474 7.775081 7.308416 7.027405 7.549775 7.904101 7.546213 7.355974⋯ 6.875555 7.814226 7.299721 7.170501 7.020149 7.107827 7.177485 7.494365 7.193977 6.978478
SRSF4 7.083232 7.755122 7.057857 7.529608 7.054527 7.394535 7.595755 6.925636 7.255967 7.350571⋯ 6.707615 7.198826 6.707480 6.659866 7.477917 7.411852 6.936004 6.827790 6.633697 6.366055
NA.8 NA NA NA NA NA NA NA NA NA NA⋯ NA NA NA NA NA NA NA NA NA NA
NA.9 NA NA NA NA NA NA NA NA NA NA⋯ NA NA NA NA NA NA NA NA NA NA
TAF9B 7.469178 7.360007 7.697436 7.528207 7.377986 7.482142 7.191716 7.066424 7.188387 7.454416⋯ 7.500075 6.762135 6.934405 7.345696 7.131344 7.785486 7.195811 7.377127 6.889497 6.893865
NA.10 NA NA NA NA NA NA NA NA NA NA⋯ NA NA NA NA NA NA NA NA NA NA
TIAL1 6.698830 6.910362 6.948172 7.041572 6.844647 6.814870 7.176419 6.958382 7.200757 7.009422⋯ 6.797571 7.064532 6.774330 6.967833 6.999578 6.973334 6.910614 7.105467 6.959704 7.015279
TRA2B 7.309223 7.500606 7.381953 7.590068 7.353654 7.097356 7.695143 7.472670 8.003124 7.758750⋯ 7.217929 7.694243 7.342225 7.398953 7.496260 7.459343 7.309639 7.493963 7.380928 7.433144
TRIM28 9.551891 9.262990 9.321959 9.282516 9.419976 9.154517 9.359370 9.251821 9.177954 9.030740⋯ 9.259651 8.781104 8.939129 9.311698 9.741757 9.385642 9.058619 9.010880 9.258303 9.598831
YWHAQ10.12960610.36498710.26864010.71327810.076602 9.78304810.43176110.23351710.55383510.347818⋯ 9.81821810.21707610.18757210.14865410.110462 9.967291 9.83895610.10884010.42444710.394053
YWHAZ10.79171511.01684410.94617011.18723511.08488811.13514211.30795811.19340710.91886611.186507⋯ 10.73110011.56545011.14469710.94603610.98257810.31483710.79346711.22763911.24659011.014552
ZNHIT3 6.879580 7.246443 7.414309 7.927222 7.602468 6.926824 8.082919 7.804751 7.791309 7.104774⋯ 6.996840 7.327394 6.892216 7.306164 6.893928 7.593629 6.663257 6.770401 7.022461 7.150991
 
Our paper discovered that following genes were upregulated in the antioxidant diet intervention group: 
​
OR2F1 TAS2R16 FMN2 HTRA4 C18orf54
ZFHX4
IL17D
NR0B1
FOXS1
FEZF2
NECAB1
LIPE
IFNW1
PAPSS2
NLGN1
DPH1
GK2
SLC16A3
SLC16A3
WDR59
CACNB3
DYRK1A
ELOVL1
PATL1
PER3

Our paper discovered that following genes were upregulated in the antioxidant diet intervention group:

OR2F1 TAS2R16 FMN2 HTRA4 C18orf54 ZFHX4 IL17D NR0B1 FOXS1 FEZF2 NECAB1 LIPE IFNW1 PAPSS2 NLGN1 DPH1 GK2 SLC16A3 SLC16A3 WDR59 CACNB3 DYRK1A ELOVL1 PATL1 PER3

 
Again, at first sight it is difficult to see if there is a difference between control and antioxidant values. For the control group it looks like the expression of the OR2F1 gene gets downregulated. 

Again, at first sight it is difficult to see if there is a difference between control and antioxidant values. For the control group it looks like the expression of the OR2F1 gene gets downregulated.

 
### Differential expression
​
We start with investigating the difference in expression due to a KIWI-rich diet and then we will investigate the difference in expression due to an antioxidant rich diet.

Differential expression

We start with investigating the difference in expression due to a KIWI-rich diet and then we will investigate the difference in expression due to an antioxidant rich diet.

 
Limma is used to investigate differential expression. We have already loaded this library in the beginning.

Limma is used to investigate differential expression. We have already loaded this library in the beginning.

 
First we define the experimental conditions along which we want to do differential expression analaysis

First we define the experimental conditions along which we want to do differential expression analaysis

In [78]:
 
treat_kiwi_ <- factor(c('control', 'control', 'control', 'control','control', 'control', 'control', 'control','control', 'control', 'control', 'control', 'control', 'control','control', 'control','control', 'control','control','control', 'kiwi', 'kiwi', 'kiwi', 'kiwi', 'kiwi', 'kiwi', 'kiwi', 'kiwi', 'kiwi', 'kiwi', 'kiwi', 'kiwi', 'kiwi', 'kiwi', 'kiwi', 'kiwi', 'kiwi', 'kiwi'),
                levels=c('control', 'kiwi'))
treat_kiwi_
  1. control
  2. control
  3. control
  4. control
  5. control
  6. control
  7. control
  8. control
  9. control
  10. control
  11. control
  12. control
  13. control
  14. control
  15. control
  16. control
  17. control
  18. control
  19. control
  20. control
  21. kiwi
  22. kiwi
  23. kiwi
  24. kiwi
  25. kiwi
  26. kiwi
  27. kiwi
  28. kiwi
  29. kiwi
  30. kiwi
  31. kiwi
  32. kiwi
  33. kiwi
  34. kiwi
  35. kiwi
  36. kiwi
  37. kiwi
  38. kiwi
 
Building a matrix: 

Building a matrix:

In [79]:
 
design_kiwi <- model.matrix(~treat_kiwi_)
design_kiwi
(Intercept)treat_kiwi_kiwi
110
210
310
410
510
610
710
810
910
1010
1110
1210
1310
1410
1510
1610
1710
1810
1910
2010
2111
2211
2311
2411
2511
2611
2711
2811
2911
3011
3111
3211
3311
3411
3511
3611
3711
3811
 
The count table is used:

The count table is used:

In [80]:
 
fit_kiwi <- eBayes(lmFit(kiwi, design_kiwi))
 
##### MA plot: Kiwi group
MA plot: Kiwi group
 
 An MA plot is made: it shows the log ratio change of expression (M) vs the average expression (A). It quickly gives you insight into the spread of differential expression.

An MA plot is made: it shows the log ratio change of expression (M) vs the average expression (A). It quickly gives you insight into the spread of differential expression.

In [81]:
 
limma::plotMA(fit_kiwi, 2)
abline(0,0,col='blue')
 
This plot suggest that there are some genes differentially expressed, especially downregulation is seen. Now we will ascertain the identity of these genes.  

This plot suggest that there are some genes differentially expressed, especially downregulation is seen. Now we will ascertain the identity of these genes.

 
The top differential expressed genes are extracted: 

The top differential expressed genes are extracted:

In [82]:
 
topTable(fit_kiwi, coef=2)
logFCAveExprtP.Valueadj.P.ValB
DNAJC3-1.0043822 7.170911 -8.376731 2.728205e-103.138930e-0613.173023
LOC440434-0.4213759 8.146996 -8.337167 3.079042e-103.138930e-0613.061897
SF3B1-0.7813054 9.211851 -8.084491 6.694274e-104.549652e-0612.347363
FAM126B-1.0314560 7.490531 -7.927858 1.087063e-095.541031e-0611.900367
PLEKHA2-1.3945464 6.586744 -7.763625 1.812060e-097.389217e-0611.428494
IL1A-0.4120342 5.403170 -7.700294 2.208261e-097.504038e-0611.245690
SMARCA2-0.5404105 7.100954 -7.570465 3.315926e-099.658345e-0610.869536
EML4-0.4948122 6.734935 -7.376272 6.107953e-091.556688e-0510.303523
EZR-0.5675563 7.869603 -7.164845 1.191930e-082.699127e-05 9.683004
CASP8-0.7253004 7.701538 -7.131754 1.323815e-082.699127e-05 9.585510
 
The top 10 genes are all downregulated.

The top 10 genes are all downregulated.

 
##### Correction for multiple testing
Correction for multiple testing
 
Summary of how many genes are and are not significant

Summary of how many genes are and are not significant

In [96]:
 
select_kiwi005 = p.adjust(fit_kiwi[,2]$p.value, method="BH") < 0.05
summary(select_kiwi005)
   Mode   FALSE    TRUE    NA's 
logical   18893    1496       0 
 
There are 1496 genes significantly different regulated when we compare the KIWI to the CONTROL group

There are 1496 genes significantly different regulated when we compare the KIWI to the CONTROL group

In [102]:
 
top_kiwi = topTable(fit_kiwi, coef=2, number=500000)
In [103]:
 
write.table(top_kiwi, "top_kiwi.tsv", sep="\t", quote=FALSE, col.names=NA)
In [104]:
 
head (top_kiwi)
logFCAveExprtP.Valueadj.P.ValB
DNAJC3-1.0043822 7.170911 -8.376731 2.728205e-103.138930e-0613.17302
LOC440434-0.4213759 8.146996 -8.337167 3.079042e-103.138930e-0613.06190
SF3B1-0.7813054 9.211851 -8.084491 6.694274e-104.549652e-0612.34736
FAM126B-1.0314560 7.490531 -7.927858 1.087063e-095.541031e-0611.90037
PLEKHA2-1.3945464 6.586744 -7.763625 1.812060e-097.389217e-0611.42849
IL1A-0.4120342 5.403170 -7.700294 2.208261e-097.504038e-0611.24569
 
###  Differential expression: 
​
We are now investigating the difference in expression due to a ANTIOXIDANT diet when compared to the control group.

Differential expression:

We are now investigating the difference in expression due to a ANTIOXIDANT diet when compared to the control group.

 
The train of thoughts is the same as for the KIWI group.

The train of thoughts is the same as for the KIWI group.

 
Defining the experimental conditions:

Defining the experimental conditions:

In [86]:
 
treat_antiox <- factor(c('antiox','antiox','antiox','control', 'control', 'control', 'control','antiox','antiox','antiox', 'control', 'control', 'control', 'control', 'antiox','antiox','antiox','antiox','antiox','antiox','antiox','antiox','control', 'control','antiox','antiox', 'control', 'control', 'control', 'control', 'antiox','antiox','control', 'control','antiox','antiox', 'control', 'control','control','control'),
                levels=c('control','antiox'))
​
treat_antiox
  1. antiox
  2. antiox
  3. antiox
  4. control
  5. control
  6. control
  7. control
  8. antiox
  9. antiox
  10. antiox
  11. control
  12. control
  13. control
  14. control
  15. antiox
  16. antiox
  17. antiox
  18. antiox
  19. antiox
  20. antiox
  21. antiox
  22. antiox
  23. control
  24. control
  25. antiox
  26. antiox
  27. control
  28. control
  29. control
  30. control
  31. antiox
  32. antiox
  33. control
  34. control
  35. antiox
  36. antiox
  37. control
  38. control
  39. control
  40. control
In [87]:
 
design_antiox <- model.matrix(~treat_antiox)
design_antiox
(Intercept)treat_antioxantiox
111
211
311
410
510
610
710
811
911
1011
1110
1210
1310
1410
1511
1611
1711
1811
1911
2011
2111
2211
2310
2410
2511
2611
2710
2810
2910
3010
3111
3211
3310
3410
3511
3611
3710
3810
3910
4010
In [88]:
 
fit_antiox <- eBayes(lmFit(antiox, design_antiox))
 
##### MA plot: Antioxidant group
MA plot: Antioxidant group
In [89]:
 
limma::plotMA(fit_antiox, 2)
abline(0,0,col='blue')
 
This plot suggest that there are some genes differentially expressed due to antioxidant diet.

This plot suggest that there are some genes differentially expressed due to antioxidant diet.

 
The top differentially expressed genes:

The top differentially expressed genes:

In [90]:
 
topTable(fit_antiox, coef=2)
logFCAveExprtP.Valueadj.P.ValB
CNOT4 0.29329321 4.904689 4.425457 6.816653e-050.6776183 0.9219285
TREML4 0.37777191 4.398945 4.362436 8.306810e-050.6776183 0.7794082
TMTC1 0.73525716 4.921154 4.244615 1.199461e-040.6776183 0.5141273
LOC79160 0.21865686 5.062734 4.137807 1.668964e-040.6776183 0.2751495
TREML3P 0.48422963 4.928419 3.927327 3.173572e-040.6776183 -0.1907956
MAP1B-0.16504288 4.218646 -3.920623 3.238576e-040.6776183 -0.2055145
IGH-0.33084375 6.081854 -3.870916 3.762438e-040.6776183 -0.3143843
ABCB9 0.14663244 5.041550 3.847273 4.039559e-040.6776183 -0.3660049
PTGER1 0.16702599 6.511466 3.799613 4.659439e-040.6776183 -0.4697266
OR5J2 0.09930537 3.336003 3.760342 5.238404e-040.6776183 -0.5548457
 
The top 10 genes show both up and down regulation, predominantly upregulation.

The top 10 genes show both up and down regulation, predominantly upregulation.

 
##### Correction for multiple testing: 
Correction for multiple testing:
In [91]:
 
select_antiox = p.adjust(fit_antiox[,2]$p.value, method="BH") < 0.05
In [92]:
 
summary(select_antiox)
   Mode   FALSE    NA's 
logical   20389       0 
 
0 genes are differentially expressed due to the antioxidant diet.

0 genes are differentially expressed due to the antioxidant diet.

 
### Differential expression kiwi-control:

Differential expression kiwi-control:

In [95]:
 
write.table(fit_kiwi, 'fit_kiwi.tsv', sep="\t")
 
In our kiwi-control group we found 1496 genes that were significantly different regulated. We invesigated if any of these genes are involved in cell stress and DNA repair by using GSEA ranking based analysis. For the antioxidant-control group we didn't find significantly different regulated genes, therefore no further GSEA analysis was performed on these group.
We made ranked files of our .tsv file (`top_kiwi.tsv`) with GSEA and following results were obtained:

In our kiwi-control group we found 1496 genes that were significantly different regulated. We invesigated if any of these genes are involved in cell stress and DNA repair by using GSEA ranking based analysis. For the antioxidant-control group we didn't find significantly different regulated genes, therefore no further GSEA analysis was performed on these group. We made ranked files of our .tsv file (top_kiwi.tsv) with GSEA and following results were obtained:

 
Upregulation:
​
14 gene sets are significantly enriched at nominal pvalue < 5%/
​
A lot of the gene sets that we found are involved in amino acid metabolism as well in purine metabolism. Amino acid metabolism is involved in protein synthesis and purine metabolism is important for DNA synthesis. Both protein synthesis and DNA synthesis are important processess in cell survival and DNA repair.

Upregulation:

14 gene sets are significantly enriched at nominal pvalue < 5%/

A lot of the gene sets that we found are involved in amino acid metabolism as well in purine metabolism. Amino acid metabolism is involved in protein synthesis and purine metabolism is important for DNA synthesis. Both protein synthesis and DNA synthesis are important processess in cell survival and DNA repair.

 
<img width="80%" src="/user/r0308882/files/TAAK/Upregulated.jpg">

 
Downregulation:
​
45 gene sets are significantly downregulated at nominal pvalue < 5%.
​
One of the genesets downregulated is a gene set involved in apoptosis.

Downregulation:

45 gene sets are significantly downregulated at nominal pvalue < 5%.

One of the genesets downregulated is a gene set involved in apoptosis.

 
<img width="80%" src="/user/r0308882/files/TAAK/downregulated.jpg">

 
### CONCLUSION
Only the kiwi diet has a significant effect on generegulation. Upregulation of genes involved in DNA repair and protein synthesis and downregulation of genes involved in apoptosis was seen. 
​
The results of the article showed a significant effect of both kiwi intervention and anti-oxidant rich diet, this can not be confirmed by our results.

CONCLUSION

Only the kiwi diet has a significant effect on generegulation. Upregulation of genes involved in DNA repair and protein synthesis and downregulation of genes involved in apoptosis was seen.

The results of the article showed a significant effect of both kiwi intervention and anti-oxidant rich diet, this can not be confirmed by our results.

 
​
​
​
-----------------------------------------------------------------------------------------------------------------------
​
​
​

 
# Processing RNAseq data

Processing RNAseq data

 
Herein we present an investigation of the regulatory gene networks that support physiological responses of the obese rat to R-α-lipoic acid (LA) , a lipid-lowering bioactive antioxidant food compound, by characterizing transcriptomic changes across lipogenic and liver tissues.

Herein we present an investigation of the regulatory gene networks that support physiological responses of the obese rat to R-α-lipoic acid (LA) , a lipid-lowering bioactive antioxidant food compound, by characterizing transcriptomic changes across lipogenic and liver tissues.

 
The first part of our RNAseq data analysis was runned in Bash. The Bash session can be found in the second notebook `Taak2`.
​
The following steps are performed in the bash notebook:
​
* SRA files to fasta files
* Quality control
* Pre-processing
* Mapping to the genome
* Evaluation of mapped reads & visualization
* Reads to gene counts
* RNAseq analysis: Differential expression analysis

The first part of our RNAseq data analysis was runned in Bash. The Bash session can be found in the second notebook Taak2.

The following steps are performed in the bash notebook:

  • SRA files to fasta files
  • Quality control
  • Pre-processing
  • Mapping to the genome
  • Evaluation of mapped reads & visualization
  • Reads to gene counts
  • RNAseq analysis: Differential expression analysis
 
### RNAseq analysis: Differential expression analysis

RNAseq analysis: Differential expression analysis

 
The DESeq2 package is used to analyze the differential expression. The scales package is used for generic plot scaling methods:

The DESeq2 package is used to analyze the differential expression. The scales package is used for generic plot scaling methods:

In [2]:
 
library("DESeq2")
Loading required package: S4Vectors
Loading required package: stats4
Loading required package: BiocGenerics
Loading required package: parallel

Attaching package: ‘BiocGenerics’

The following objects are masked from ‘package:parallel’:

    clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
    clusterExport, clusterMap, parApply, parCapply, parLapply,
    parLapplyLB, parRapply, parSapply, parSapplyLB

The following object is masked from ‘package:stats’:

    xtabs

The following objects are masked from ‘package:base’:

    anyDuplicated, append, as.data.frame, as.vector, cbind, colnames,
    do.call, duplicated, eval, evalq, Filter, Find, get, intersect,
    is.unsorted, lapply, Map, mapply, match, mget, order, paste, pmax,
    pmax.int, pmin, pmin.int, Position, rank, rbind, Reduce, rep.int,
    rownames, sapply, setdiff, sort, table, tapply, union, unique,
    unlist, unsplit

Creating a generic function for ‘nchar’ from package ‘base’ in package ‘S4Vectors’
Loading required package: IRanges
Loading required package: GenomicRanges
Loading required package: GenomeInfoDb
Loading required package: Rcpp
Loading required package: RcppArmadillo
Warning message:
: replacing previous import ‘S4Vectors::Position’ by ‘ggplot2::Position’ when loading ‘DESeq2’
In [3]:
 
library('scales')
 
We will work further with the tsv file we generated previously: 

We will work further with the tsv file we generated previously:

In [4]:
 
setwd(path.expand("/home/luna.kuleuven.be/r0308882/data/jupyternotebooks/TAAK/"))
In [5]:
 
matrixFile = path.expand("/home/luna.kuleuven.be/r0308882/data/jupyternotebooks/TAAK/all.mapgene.counts")
 
First we indicate that values in the `matrixFile` are seperated by tabs. After this the matrix is genereated from the tsv file: 

First we indicate that values in the matrixFile are seperated by tabs. After this the matrix is genereated from the tsv file:

In [6]:
 
countData <- as.matrix(read.csv(matrixFile , sep = "\t", row.names = "Geneid"))
 
Change the names of the column:

Change the names of the column:

In [7]:
 
colnames(countData) <- c("AP1", "AP2", "AP3", "AP4", "AL1", "AL2", "AL3", "AL4", "LP1", "LP2", "LP3", "LP4", "LL1", "LL2", "LL3", "LL4")
head(countData)
AP1AP2AP3AP4AL1AL2AL3AL4LP1LP2LP3LP4LL1LL2LL3LL4
MIR1302-110000000000000000
FAM138A0000000000000000
OR4F50000000000000000
RP11-34P13.70000000000000000
RP11-34P13.80000000000000000
AL627309.10000000000000000
 
The experimental conditions: 

The experimental conditions:

In [8]:
 
condition <- factor(c("AP", "AP", "AP", "AP", "AL", "AL", "AL", "AL", "LP", "LP", "LP", "LP", "LL", "LL", "LL", "LL"))
print(condition)
 [1] AP AP AP AP AL AL AL AL LP LP LP LP LL LL LL LL
Levels: AL AP LL LP
 
Now the specific conditions are assigned to the corresponding samples: 

Now the specific conditions are assigned to the corresponding samples:

In [9]:
 
colData <- data.frame(sampleName = colnames(countData),
                      condition = condition)
colData
sampleNamecondition
AP1AP
AP2AP
AP3AP
AP4AP
AL1AL
AL2AL
AL3AL
AL4AL
LP1LP
LP2LP
LP3LP
LP4LP
LL1LL
LL2LL
LL3LL
LL4LL
 
Now we create the object `DESeqDataSet` for subsequent analysis:

Now we create the object DESeqDataSet for subsequent analysis:

In [10]:
 
dds <- DESeqDataSetFromMatrix(countData = countData,
                              colData = colData,
                              design = ~ condition)
​
colnames(dds) <- colnames(countData)
In [11]:
 
dds
class: DESeqDataSet 
dim: 41863 16 
exptData(0):
assays(1): counts
rownames(41863): MIR1302-11 FAM138A ... AC007965.1 RNU6-1314P
rowRanges metadata column names(0):
colnames(16): AP1 AP2 ... LL3 LL4
colData names(2): sampleName condition
 
### Running the differential expression 

Running the differential expression

In [12]:
 
dds <- DESeq(dds)
estimating size factors
estimating dispersions
gene-wise dispersion estimates
mean-dispersion relationship
final dispersion estimates
fitting model and testing
In [13]:
 
res1 <- results(dds, contrast=c("condition","AP","AL"))
res2 <- results(dds, contrast=c("condition","LP","LL"))
 
### Control

Control

 
Estimate library size:

Estimate library size:

In [14]:
 
options(repr.plot.width=9, repr.plot.height=3)
barplot(sizeFactors(dds))
 
##### Scatterplot of sample vs. sample:
Scatterplot of sample vs. sample:
In [15]:
 
options(repr.plot.width=9, repr.plot.height=9)
plot(data.frame(log10(counts(dds))), cex=0.1, col=alpha("black", 0.4))
 
In a scatterplot we compared the gene expression levels of the adipose tissue samples to each other and the gene expression levels of the liver samples to each other. Sample vs sample comparison shows us that there is slightly more variance in between the groups then there is within the groups. But the low expressing genes show some variation (noise) and therefore we used a `DESeq2` function that minimizes this variation.

In a scatterplot we compared the gene expression levels of the adipose tissue samples to each other and the gene expression levels of the liver samples to each other. Sample vs sample comparison shows us that there is slightly more variance in between the groups then there is within the groups. But the low expressing genes show some variation (noise) and therefore we used a DESeq2 function that minimizes this variation.

In [16]:
 
rld <- rlogTransformation(dds, blind=TRUE)
In [18]:
 
options(repr.plot.width=9, repr.plot.height=9)
plot(data.frame(assay(rld)), cex=0.1, col=alpha("black", 0.4))
 
After correcting for the noise, there still seems to be a bigger variance between the groups for liver tissue than there is within the two groups. For adipose tissue this is less clear to deduce. Therefore we approached this inter-sample variation determination also by making a PCA plot.

After correcting for the noise, there still seems to be a bigger variance between the groups for liver tissue than there is within the two groups. For adipose tissue this is less clear to deduce. Therefore we approached this inter-sample variation determination also by making a PCA plot.

 
##### PCA plot of sample vs sample: 
PCA plot of sample vs sample:
In [19]:
 
plotPCA(rld, intgroup=c("condition"))
 
The PCA plot confirms what we saw in the scatterplot. There is a clear difference in gene expression levels between liver tissue groups receiving lipoic acid and not. Again, for adipose tissue this is less clear to deduce.

The PCA plot confirms what we saw in the scatterplot. There is a clear difference in gene expression levels between liver tissue groups receiving lipoic acid and not. Again, for adipose tissue this is less clear to deduce.

 
##### MA plot: 
MA plot:
 
To visualize the results of the differential expression plot we made an MA plot showing the mean expression vs the log fold change.

To visualize the results of the differential expression plot we made an MA plot showing the mean expression vs the log fold change.

In [20]:
 
options(repr.plot.width=5, repr.plot.height=5)
plotMA(dds,ylim=c(-14,10), main="DESeq2")
 
Significantly differentially expressed genes are colored in red.

Significantly differentially expressed genes are colored in red.

 
### Data Export

Data Export

 
All results: 

All results:

In [21]:
 
res1 <- res1[order(res1$padj),]
head (res1)
log2 fold change (MAP): condition AP vs AL 
Wald test p-value: condition AP vs AL 
DataFrame with 6 rows and 6 columns
         baseMean log2FoldChange     lfcSE      stat       pvalue       padj
        <numeric>      <numeric> <numeric> <numeric>    <numeric>  <numeric>
HMGCS2  4154.2155     -0.5115341 0.1411362 -3.624401 0.0002896318 0.08731585
SLC38A4  937.7805      1.4991011 0.4234883  3.539888 0.0004002970 0.08731585
GPD1    5265.2183      0.5329800 0.1498013  3.557914 0.0003738117 0.08731585
FTL     4525.3905     -0.4494388 0.1261689 -3.562198 0.0003677622 0.08731585
HAO1    1411.2948      1.2650283 0.3610452  3.503794 0.0004586793 0.08731585
SLC25A1  464.4563      0.8394768 0.2308657  3.636213 0.0002766760 0.08731585
In [22]:
 
plotMA(res1)
In [23]:
 
res2 <- res2[order(res2$padj),]
head (res2)
log2 fold change (MAP): condition LP vs LL 
Wald test p-value: condition LP vs LL 
DataFrame with 6 rows and 6 columns
           baseMean log2FoldChange     lfcSE       stat       pvalue
          <numeric>      <numeric> <numeric>  <numeric>    <numeric>
MTRNR2L12  334.9513     -2.4648061 0.1441275 -17.101570 1.444606e-65
MT-RNR2    807.3976     -2.0787802 0.1715807 -12.115463 8.746872e-34
APOA4      646.3878      1.1679077 0.1121777  10.411233 2.203496e-25
RGS16      266.5226      2.1352150 0.2341600   9.118615 7.609014e-20
MTRNR2L6    69.3028     -2.2059406 0.2447491  -9.013070 2.003667e-19
ADCK3      414.0880      0.9839805 0.1235096   7.966832 1.627938e-15
                  padj
             <numeric>
MTRNR2L12 1.393323e-61
MT-RNR2   4.218179e-30
APOA4     7.084241e-22
RGS16     1.834724e-16
MTRNR2L6  3.865073e-16
ADCK3     2.616910e-12
In [24]:
 
plotMA(res2)
 
Differentially expressed genes (p <0.05):

Differentially expressed genes (p <0.05):

In [25]:
 
res1.sign <- res1[(!is.na(res1$padj)) & (res1$padj < 0.05),]
dim(res1.sign)
  1. 0
  2. 6
In [26]:
 
res2.sign <- res2[(!is.na(res2$padj)) & (res2$padj < 0.05),]
dim(res2.sign)
  1. 173
  2. 6
 
If we compare AP-AL, we find that there are no genes differentially expressed.
​
If we compare LP-LL, we find that there are 173 genes differentially expressed.

If we compare AP-AL, we find that there are no genes differentially expressed.

If we compare LP-LL, we find that there are 173 genes differentially expressed.

 
Saving the results: 

Saving the results:

In [27]:
 
write.table(res1, "deseq.results1.tsv", sep="\t", col.names=NA, quote=FALSE)
write.table(res2, "deseq.results2.tsv", sep="\t", col.names=NA, quote=FALSE)
In [28]:
 
write.table(res1.sign, "deseq.results1sign.tsv", sep="\t", col.names=NA, quote=FALSE)
write.table(res2.sign, "deseq.results2sign.tsv", sep="\t", col.names=NA, quote=FALSE)
 
#### tsv file AP vs. AL 

tsv file AP vs. AL

xxxxxxxxxx
There are no significant differential expressions due to the treatment in the adipose tissue.
​
<img width="50%" src="/user/r0308882/files/TAAK/Schermopname (10).png">

There are no significant differential expressions due to the treatment in the adipose tissue.

 
#### tsv file LP vs. LL

tsv file LP vs. LL

xxxxxxxxxx
These are the significant differential expressions in the liver tissue. 
​
<img width="50%" src="/user/r0308882/files/TAAK/Schermopname (11).png">

These are the significant differential expressions in the liver tissue.

 
### Ranking based analysis: 
We will further investigate the differential expression in the liver tissue

Ranking based analysis:

We will further investigate the differential expression in the liver tissue

 
#### LP vs. LL

LP vs. LL

 
<img width="100%" src="/user/r0308882/files/TAAK/Schermopname (12).png">

 
<img width="100%" src="/user/r0308882/files/TAAK/Schermopname (13).png">

### CONCLUSION:
- No differential expression was seen in the adipose tissue. 
- The differential expression in the liver tissue is associated with responses to purine-containing compounds, cAMP and organophosphorus. These processes are important for overall cell survival and for the response to organic and nitrogen substances. The fact that this was upregulated in the treatment group, means that cells are better protected.

CONCLUSION:

  • No differential expression was seen in the adipose tissue.
  • The differential expression in the liver tissue is associated with responses to purine-containing compounds, cAMP and organophosphorus. These processes are important for overall cell survival and for the response to organic and nitrogen substances. The fact that this was upregulated in the treatment group, means that cells are better protected.
 
​
​
-----------------------------------------------------------------------------------------------------------------------
​
​

 
# Overall conclusion

Overall conclusion

In both papers there is a difference in expression associated with protection of the cell and protection against oxidative stress, but it seems that the kiwi diet and the R-α-lipoic acid treatment influence other pathways: 
​
- Paper 1, microarray: The kiwi diet causes upregulation of genes involved in DNA repair and protein synthesis and downregulation of genes involved in apoptosis was seen. 
- Paper 2, RNAseq: R-α-lipoic acid treatment causes differential expression of genes associated with response to nitrogen and organic substances. 

In both papers there is a difference in expression associated with protection of the cell and protection against oxidative stress, but it seems that the kiwi diet and the R-α-lipoic acid treatment influence other pathways:

  • Paper 1, microarray: The kiwi diet causes upregulation of genes involved in DNA repair and protein synthesis and downregulation of genes involved in apoptosis was seen.
  • Paper 2, RNAseq: R-α-lipoic acid treatment causes differential expression of genes associated with response to nitrogen and organic substances.