## Gene expression profiling of bone marrow-derived mononuclear cells (BMMC) from patients with rheumatoid arthritis (RA) vs. osteoarthritis (OA)Nuria Renard r0368280Nathalie Van den Berghe r0368279Hanne Ruts r0384457Nuria Renard r0368280
Nathalie Van den Berghe r0368279
Hanne Ruts r0384457
### Introduction ##### Used article: Lee et al. Abnormal networks of immune response-related molecules in bone marow cells from patients with rheumatoid arthritis as revealed by DNA microarray analysis. Arthritis & Therapy 2011, 13:R89 https://www.ncbi.nlm.nih.gov/pubmed/21679443##### Microarray data:https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE27390Rheumatoid arthritis (RA) is a systemic autoimmune disease characterized by chronic synovitis that is often pathogenic and destructive to articular cartilage and bone. Accumulating evidence suggest that abnormalities in bone marrow (BM) have a significant role in RA inflammation. In this study, differentially expressed molecules in BM cells from rheumatoid arthritis (RA) and osteoarthritis (OA) patients were compared and abnormal regulatory networks were analyzed to identify the role of BM cells in RA. OA patients were chosen as controls because the OA pathology is relatively well understood and the BM cells from these patients are far more readily available than those from healthy subjects. We start off with the analysis of a microarray dataset obtained from bone marrow samples of 9 RA and 10 OA patients. From this microarray data we generated a list of differentially expressed genes and performed a ranking-based analysis by use of GORilla. Subsequently, iRegulon analysis was performed on this list of differentially expressed genes to predict regulators and targets. From the list of predicted transcription factors and based on the literature we chose NFKB1 as a possible regulator of the upregulated genes in RA. From genemania we retrieved an association network of NFKB1, we analyzed the gene set with iRegulon and found that the motif was enriched. Furthermore a Chipseq dataset of NFKB1 was analyzed to investigate if NFKB1 directly binds the target genes (i.e. the upregulated genes in RA)https://www.ncbi.nlm.nih.gov/pubmed/21679443
https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE27390
Rheumatoid arthritis (RA) is a systemic autoimmune disease characterized by chronic synovitis that is often pathogenic and destructive to articular cartilage and bone. Accumulating evidence suggest that abnormalities in bone marrow (BM) have a significant role in RA inflammation. In this study, differentially expressed molecules in BM cells from rheumatoid arthritis (RA) and osteoarthritis (OA) patients were compared and abnormal regulatory networks were analyzed to identify the role of BM cells in RA. OA patients were chosen as controls because the OA pathology is relatively well understood and the BM cells from these patients are far more readily available than those from healthy subjects.
We start off with the analysis of a microarray dataset obtained from bone marrow samples of 9 RA and 10 OA patients. From this microarray data we generated a list of differentially expressed genes and performed a ranking-based analysis by use of GORilla. Subsequently, iRegulon analysis was performed on this list of differentially expressed genes to predict regulators and targets. From the list of predicted transcription factors and based on the literature we chose NFKB1 as a possible regulator of the upregulated genes in RA. From genemania we retrieved an association network of NFKB1, we analyzed the gene set with iRegulon and found that the motif was enriched. Furthermore a Chipseq dataset of NFKB1 was analyzed to investigate if NFKB1 directly binds the target genes (i.e. the upregulated genes in RA)
## 1. Microarray analysis ### 1.1 LibrariesFirst we load the following libraries: the affy package to deal with Affymetrix microarray data and the limma package for differential expression analysis.library(limma)library(affy)#we downloaded the cel files in: celfiles = Sys.glob("/mnt/storage/r0368280/jupyternotebooks/Examenopdracht/*.gz")The original files are located in "/mnt/storage/r0368280/jupyternotebooks/Examenopdracht/"Under the account of r0368280The original files are located in "/mnt/storage/r0368280/jupyternotebooks/Examenopdracht/"
Under the account of r0368280
celfilesThe variable celfiles contain a list of cell file names, nothing more. The data is not loaded yet. To load the files we will use a function from the bioconductor affy packageThe variable celfiles contain a list of cell file names, nothing more. The data is not loaded yet. To load the files we will use a function from the bioconductor affy package
rawcel <- ReadAffy(filenames=celfiles)The variable rawcel contains an AffyBatch object. Next step is to annotate the samples: the rawcel object only knows of the file names:The variable rawcel contains an AffyBatch object.
Next step is to annotate the samples: the rawcel object only knows of the file names:
sampleNames(rawcel)We want to let R know which disease is which: rheumatoid arthritis (RA) or osteoarthritis (OA). To do this we will make a vector with the diseases.We want to let R know which disease is which: rheumatoid arthritis (RA) or osteoarthritis (OA). To do this we will make a vector with the diseases.
disease = c("RA", "RA", "RA", "RA", "RA", "RA", "RA", "RA", "RA", "OA", "OA", "OA", "OA", "OA", "OA", "OA", "OA", "OA", "OA")Now we'll merge the sample names and the disease into one data frame:Now we'll merge the sample names and the disease into one data frame:
#first make a data framepd <- data.frame(disease = disease)rownames(pd) <- sampleNames(rawcel)pdWe will convert this dataframe to an AnnotatedDataFrame, which is a variant of a data.frame that the affy package requires for annotated data, and assign it to our rawcel object:We will convert this dataframe to an AnnotatedDataFrame, which is a variant of a data.frame that the affy package requires for annotated data, and assign it to our rawcel object:
#this library contains the AnnotatedDataFrame:library(Biobase)phenoData(rawcel) <- AnnotatedDataFrame(data=pd)### 1.3. NormalizationNext, we use frma (other option: SCAN) to normalize the data. We have 19 different samples so we have to normalize.Next, we use frma (other option: SCAN) to normalize the data. We have 19 different samples so we have to normalize.
#load the frma librarylibrary(frma)eset <- frma(rawcel, verbose=TRUE)save(eset, file="/mnt/storage/r0368280/jupyternotebooks/Examenopdracht/GSE27390.eset")We now have an expression set loaded as an `ExpressionSet`. The eset objects contain the normalized data per probe and some experimental annotation. However, the sample names are not very imformative:We now have an expression set loaded as an ExpressionSet.
The eset objects contain the normalized data per probe and some experimental annotation.
However, the sample names are not very imformative:
sampleNames(eset)We'll fix this by assigning sample names manually:We'll fix this by assigning sample names manually:
eset.labels <- c("RA_1", "RA_2", "RA_3", "RA_4", "RA_5", "RA_6", "RA_7", "RA_8", "RA_9", "OA_1", "OA_2", "OA_3", "OA_4", "OA_5", "OA_6", "OA_7", "OA_8", "OA_9", "OA_10")sampleNames(eset) <- eset.labelsWe can check the normalized expression level on a probe by probe basis:We can check the normalized expression level on a probe by probe basis:
probe.counts <- exprs(eset)head (probe.counts)The names in the first column (e.g. 1007_s_at) are the ID's of the probes. The names in the first row are the sample names. The names in the first column (e.g. 1007_s_at) are the ID's of the probes. The names in the first row are the sample names.
### 1.4 Gene namesThe probe names are not very informative. So, we will assign gene names to each probe.First we will load two extra libraries. The latter contains the annotation of our microarray platform (GeneChip Human Genome U133 Plus 2.0 Array (Affymetrix, Santa Clara, CA, USA))The probe names are not very informative. So, we will assign gene names to each probe. First we will load two extra libraries. The latter contains the annotation of our microarray platform (GeneChip Human Genome U133 Plus 2.0 Array (Affymetrix, Santa Clara, CA, USA))
library(annotate)library(hgu133plus2.db)Now we will link the probe to its corresponding gene name using the `getSYMBOL` functionNow we will link the probe to its corresponding gene name using the getSYMBOL function
probe.names <- rownames(probe.counts)gene.symbols <- getSYMBOL(probe.names, "hgu133plus2")head(gene.symbols)Now we will perform a few extra steps to fix the raw expression table.The first step is to convert the raw expression to a data.frame with the gene symbols added as an extra column:Now we will perform a few extra steps to fix the raw expression table. The first step is to convert the raw expression to a data.frame with the gene symbols added as an extra column:
probe.counts.genesymbol <- as.data.frame(cbind(as.data.frame(probe.counts), gene.symbols))head(probe.counts.genesymbol)Then we will remove all probes for which we do not have a gene symbol, and ensure that the gene symbol column contains only strings:Then we will remove all probes for which we do not have a gene symbol, and ensure that the gene symbol column contains only strings:
probe.counts.genesymbol = probe.counts.genesymbol[complete.cases(probe.counts.genesymbol),]probe.counts.genesymbol$gene.symbols <- as.character(probe.counts.genesymbol$gene.symbols)Now, we have multiple probes per gene. There are many opinions on how to best deal with this. Differing values may have biological meaning (splice variants) or may be noise. To keep things simple we will take the median expression here.To group the probes per gene, we will use a function from the excellent reshape2 package.Now, we have multiple probes per gene. There are many opinions on how to best deal with this. Differing values may have biological meaning (splice variants) or may be noise. To keep things simple we will take the median expression here. To group the probes per gene, we will use a function from the excellent reshape2 package.
library(reshape2)We will now `melt` and `dcast` the probe expression table into a gene count table. We will now melt and dcast the probe expression table into a gene count table.
m <- melt(probe.counts.genesymbol, id.vars = c("gene.symbols"))We can check the contents of m, not how the data is now in "long" form:We can check the contents of m, not how the data is now in "long" form:
head(m)And now we aggregate into a count table:And now we aggregate into a count table:
counts <- dcast(m, gene.symbols ~ variable, fun.aggregate=median)If you check, there is a column called `gene.symbols`. We're turning these into the row names now:If you check, there is a column called gene.symbols. We're turning these into the row names now:
rownames(counts) <- counts$gene.symbolscounts$gene.symbols <- NULLCheck the contents of the first five columns and rows:Check the contents of the first five columns and rows:
counts[1:5,1:5]Now we save this count table and analyse this in MeV (multiple array viewer).Now we save this count table and analyse this in MeV (multiple array viewer).
write.table(counts, 'GSE27390.counts.tsv', sep="\t", quote=FALSE, col.names=NA)We uploaded the 'GSE27390.counts.tsv' file into MeV and normalized the data. Subsequently we uploaded a gene cluster of genes that are known to be upregulated in rheumatoid arthritis (based on the literature). We see that the genes that are known to be upregulated are also upregulated (AREG,CXCR4,FKBP5,TPST1) in our microarray dataset, which means that our dataset is probably a good dataset.We uploaded the 'GSE27390.counts.tsv' file into MeV and normalized the data. Subsequently we uploaded a gene cluster of genes that are known to be upregulated in rheumatoid arthritis (based on the literature). We see that the genes that are known to be upregulated are also upregulated (AREG,CXCR4,FKBP5,TPST1) in our microarray dataset, which means that our dataset is probably a good dataset.
<img width="50%" src="/user/r0368280/files/Examenopdracht/Pictures/PrintscreenE.png">
### 1.5 Quality controlIt is very important to check the quality of your data. This can be done by the MDS tool. Basically, if two samples are similar, they are close together. In an ideal situation there is a lot of variaton between the conditions and little variation between the samples of each condition (replicates should be close together). It is very important to check the quality of your data. This can be done by the MDS tool. Basically, if two samples are similar, they are close together. In an ideal situation there is a lot of variaton between the conditions and little variation between the samples of each condition (replicates should be close together).
plotMDS(eset)Samples RA_7, RA_6 and RA_2 lie further away from the other RA samples (RA_1, RA_3, RA_4, RA_5, RA_8 and RA_9, which form more or less a cluster). OA_4 lies further away from the other OA samples.Taken together there is only little variation between samples of the same condition and there is big variation between OA and RA as seen by the fact that OA and RA form two different clusters. This means that the quality of our data is good.Samples RA_7, RA_6 and RA_2 lie further away from the other RA samples (RA_1, RA_3, RA_4, RA_5, RA_8 and RA_9, which form more or less a cluster). OA_4 lies further away from the other OA samples. Taken together there is only little variation between samples of the same condition and there is big variation between OA and RA as seen by the fact that OA and RA form two different clusters. This means that the quality of our data is good.
We now look at the genes that are already known to be upregulated in RA (same genes as checked in MeV) and genes of interestWe now look at the genes that are already known to be upregulated in RA (same genes as checked in MeV) and genes of interest
goi <- c("AREG", "CXCR4", "FKBP5", "TPST1", "CXCL8", "IFNG", "CCL20")counts[goi,]We chose to look at AREG, CXCR4, FKBP5 and TPST1 because these genes are already known to be upregulated in RA. CXCL8, IFNG and CCL20 are associated with inflammation and could therefore also be upregulated in RA. You see that IFNG has higher values in RA compared to OA. The same with CCL20 but there is alot of variation in the RA samples for this gene. For CXCL8 it is hard to tell.We chose to look at AREG, CXCR4, FKBP5 and TPST1 because these genes are already known to be upregulated in RA. CXCL8, IFNG and CCL20 are associated with inflammation and could therefore also be upregulated in RA. You see that IFNG has higher values in RA compared to OA. The same with CCL20 but there is alot of variation in the RA samples for this gene. For CXCL8 it is hard to tell.
Another nice way to look at your data is by creating a scatterplot of each gene comparing all samples against each other:Another nice way to look at your data is by creating a scatterplot of each gene comparing all samples against each other:
plot(data.frame(counts), cex=0.1)Gene expression levels of the different samples are compared. Depending on the samples you compare with each other, the variation differs as seen by the black diagonal line. The wider the diagnonal, the more variation there is.Gene expression levels of the different samples are compared. Depending on the samples you compare with each other, the variation differs as seen by the black diagonal line. The wider the diagnonal, the more variation there is.
### 1.6 Differential expressionWe use limma for differential expression analysis, but we already loaded the library.The first step is to define the experimental conditions along which we want to do differential expression analaysis:We use limma for differential expression analysis, but we already loaded the library.
The first step is to define the experimental conditions along which we want to do differential expression analaysis:
disease <- factor(c('RA', 'RA', 'RA', 'RA','RA','RA','RA','RA','RA','OA','OA','OA','OA','OA','OA','OA','OA','OA','OA'), levels=c('RA', 'OA'))diseaseLimma uses a linear model in the background, to this end we'll build a model matrix:Limma uses a linear model in the background, to this end we'll build a model matrix:
design <- model.matrix(~disease)designfit <- eBayes(lmFit(counts, design))lmFit is a `limma` function that fits a linear model and `eBayes` calculates probabilities.lmFit is a limma function that fits a linear model and eBayes calculates probabilities.
### 1.7 MA plotAn MA plot is a very common plot in differential expression analysis for the visualisation of genomic data. 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 a very common plot in differential expression analysis for the visualisation of genomic data. 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.
limma::plotMA(fit, 2)abline(0,0,col='blue')On this MA plot you can see the differential expression of the genes in OA versus RA. The dots on the blue line represent genes that have a similar expression level in RA and in OA. Genes that are located above the blue line, are upregulated in OA compared to RA. Genes that are located under the blue line are downregulated in OA compared to RA.The spread of differential expression is acceptable.On this MA plot you can see the differential expression of the genes in OA versus RA. The dots on the blue line represent genes that have a similar expression level in RA and in OA. Genes that are located above the blue line, are upregulated in OA compared to RA. Genes that are located under the blue line are downregulated in OA compared to RA.
The spread of differential expression is acceptable.
Now we extract the top differentially expressed genes using the `topTable` function. We choose coef=2 because we want the results from the disease (RA or OA) and not from the intercept.Now we extract the top differentially expressed genes using the topTable function. We choose coef=2 because we want the results from the disease (RA or OA) and not from the intercept.
topTable(fit, coef=2)NOTE: in the used commands we compared OA versus RA, so if the logFC (log fold change) is negative the gene is downregulated in OA compared to RA. This also means that the gene is upregulated in RA compared to OA.In this table, all 10 genes are downregulated in OA compared to RA, which means that these genes are upregulated in RA. This upregulation is significant because the adjusted pvalue is less than 0.05 (which is an arbitrary chosen value).NOTE: in the used commands we compared OA versus RA, so if the logFC (log fold change) is negative the gene is downregulated in OA compared to RA. This also means that the gene is upregulated in RA compared to OA.
In this table, all 10 genes are downregulated in OA compared to RA, which means that these genes are upregulated in RA. This upregulation is significant because the adjusted pvalue is less than 0.05 (which is an arbitrary chosen value).
### 1.8 Correct for multiple testingBecause we have so many genes we have to correct for multiple testing and this can be done through the Benjamin Hochberg (BH) method. We select again the second colum, because we are interested in the type of disease (RA or OA) and we select all the genes for which there is less than 5 % chance of false discovery. Because we have so many genes we have to correct for multiple testing and this can be done through the Benjamin Hochberg (BH) method. We select again the second colum, because we are interested in the type of disease (RA or OA) and we select all the genes for which there is less than 5 % chance of false discovery.
select = p.adjust(fit[,2]$p.value, method="BH") < 0.05To test if this command works we randomly select some genes:To test if this command works we randomly select some genes:
select[20:30]summary(select)`Summary(select)` gives us an overview of how many genes are signficant genes. In our case, 4833 are significant if you take a significance cutt-off (adjusted p-value) of 0.05 and correct for multiple testing.Summary(select)
gives us an overview of how many genes are signficant genes. In our
case, 4833 are significant if you take a significance cutt-off (adjusted
p-value) of 0.05 and correct for multiple testing.
In the article they used q < 0.001 as the criterion for statistical significance. So, we will also use this criterion as FDR (false discovery rate) cutoff.In the article they used q < 0.001 as the criterion for statistical significance. So, we will also use this criterion as FDR (false discovery rate) cutoff.
select0001 = p.adjust(fit[,2]$p.value, method="BH") < 0.001summary(select0001)If we take a significance cut-off of 0.001 and correct for multiple testing by the BH method we find 807 differentially expressed genes. In the article they found 2674 differentially expressed genes. If we take a significance cut-off of 0.001 and correct for multiple testing by the BH method we find 807 differentially expressed genes. In the article they found 2674 differentially expressed genes.
We now convert the output data generated by the topTable function in a file named "GSE27390.tophits.tsv" for further analysis. 100000 is chosen as the number of genes to ensure all genes are included. Note that the topTable function also calculates an adjusted p value and uses the BH method.We now convert the output data generated by the topTable function in a file named "GSE27390.tophits.tsv" for further analysis. 100000 is chosen as the number of genes to ensure all genes are included. Note that the topTable function also calculates an adjusted p value and uses the BH method.
top = topTable(fit, coef=2, number=100000)write.table(top, "GSE27390.tophits.tsv", sep="\t", quote=FALSE, col.names=NA)We check the output data by the head function to check if the output file looks as expected (you can also upload the tsv in excell to look at the data)We check the output data by the head function to check if the output file looks as expected (you can also upload the tsv in excell to look at the data)
head(top)## 2. Ranking-based analysis with GORillaWe now have a file named "GSE27390.tophits.tsv" which is a list of the most differentially expressed genes. Subsequently we are going to rank these genes in two different ways, one time on most upregulated genes in RA and the other time on most downregulated in RA. To do this, we upload the tsv file in excel and rank the genes from most upregulated genes to less upregulated by ranking genes that have a logFoldchange of less than -1 and an adjusted p-value of less than 0.05 (logFC<-1 && p.adj<0.05).For ranking the genes from most downregulated genes to less downregulated, the genes that have a logFoldchange of more than 1 and an adjusted p-value of less than 0.05 (logFC>1 && p.adj<0.05) are ranked.The used formulas in excel are:Upregulated: =ALS(EN(B2<-1; F2<0.05);1;0)Downregulated: =ALS(EN(B2>1; F2<0.05);1;0)In this formulas F2 stands for the adjusted p-value and B2 stands for the fold change (logFC). !! Notice again that the used commands of our microarray analysis are a comparison of OA versus RA so if the logFoldchange is negative the gene is downregulated in OA compared to RA which means that the gene is upregulated in RA compared to OA.We now have a file named "GSE27390.tophits.tsv" which is a list of the most differentially expressed genes. Subsequently we are going to rank these genes in two different ways, one time on most upregulated genes in RA and the other time on most downregulated in RA. To do this, we upload the tsv file in excel and rank the genes from most upregulated genes to less upregulated by ranking genes that have a logFoldchange of less than -1 and an adjusted p-value of less than 0.05 (logFC<-1 && p.adj<0.05).
For ranking the genes from most downregulated genes to less downregulated, the genes that have a logFoldchange of more than 1 and an adjusted p-value of less than 0.05 (logFC>1 && p.adj<0.05) are ranked.
The used formulas in excel are:
Upregulated: =ALS(EN(B2<-1; F2<0.05);1;0)
Downregulated: =ALS(EN(B2>1; F2<0.05);1;0)
In this formulas F2 stands for the adjusted p-value and B2 stands for the fold change (logFC).
!! Notice again that the used commands of our microarray analysis are a comparison of OA versus RA so if the logFoldchange is negative the gene is downregulated in OA compared to RA which means that the gene is upregulated in RA compared to OA.
Subsequently the ranked list of most upregulated genes in RA and the ranked list of most downregulated in RA were uploaded in GORilla to obtain a gene signature.Interpretation of the 2 pictures below: From the ranked list of most upregulated genes in RA that was uploaded in GORilla we see that the upregulated genes are involved in the regulation of immune system processes, regulation of response to stimuli, regulation of cytokine production, leukocyte activation, IL-8 production, T-cell activation etc. These are all processes involved in inflammation, which is expected in an inflammatory disease as rheumatoid arthritis.Subsequently the ranked list of most upregulated genes in RA and the ranked list of most downregulated in RA were uploaded in GORilla to obtain a gene signature.
Interpretation of the 2 pictures below: From the ranked list of most upregulated genes in RA that was uploaded in GORilla we see that the upregulated genes are involved in the regulation of immune system processes, regulation of response to stimuli, regulation of cytokine production, leukocyte activation, IL-8 production, T-cell activation etc. These are all processes involved in inflammation, which is expected in an inflammatory disease as rheumatoid arthritis.
<img width="50%" src="/user/r0368280/files/Examenopdracht/Pictures/GORILLA2.jpg">
<img width="50%" src="/user/r0368280/files/Examenopdracht/Pictures/GORILLA1.jpg">
Interpreation of the picture below: From the ranked list of most downregulated genes in RA that was uploaded in GORilla we see that the downregulated genes are involved in cell cycle processes more specifically cell division, DNA replication, chromosome organisation, G1/S transition, etc.Interpreation of the picture below: From the ranked list of most downregulated genes in RA that was uploaded in GORilla we see that the downregulated genes are involved in cell cycle processes more specifically cell division, DNA replication, chromosome organisation, G1/S transition, etc.
<img width="50%" src="/user/r0368280/files/Examenopdracht/Pictures/GORILLA3.jpg">
## 3. iRegulon analysis The next step is to upload the ranked list of downregulated genes as well as upregulated genes in iRegulon. Are these downregulated and upregulated genes co-expressed by chance or because they are regulated by the same transcription factor (TF)? iRegulon detects the TFs, the targets and the motifs/tracks from a set of genes. The aim is to find the regulator of either the down or upgeregulated genes in RA, i.e. the transcription factor that regulates either the down or upregulated genes. Ideally, we would try to find the masterregulator of the genes and the additional regulators to establish a regulatory network but this is overreaching.iRegulon analysis was done with the parameters left on standard settings.As a result we get a list with enriched motifs, together with a list of candidate transcription factors that can bind the motif. We obtain these results for the downregulated genes and for the upregulated genes. The next step is to upload the ranked list of downregulated genes as well as upregulated genes in iRegulon. Are these downregulated and upregulated genes co-expressed by chance or because they are regulated by the same transcription factor (TF)? iRegulon detects the TFs, the targets and the motifs/tracks from a set of genes. The aim is to find the regulator of either the down or upgeregulated genes in RA, i.e. the transcription factor that regulates either the down or upregulated genes. Ideally, we would try to find the masterregulator of the genes and the additional regulators to establish a regulatory network but this is overreaching.
iRegulon analysis was done with the parameters left on standard settings. As a result we get a list with enriched motifs, together with a list of candidate transcription factors that can bind the motif. We obtain these results for the downregulated genes and for the upregulated genes.
### 3.1 Upregulated genesIn the picture below you see the transcription factors detected by iRegulon analysis on the ranked list of upregulated genes. The top table shows the enriched TFs ranked by the maximal enrichment score of the motif or the maximal enrichment score for a given TF (=NES), presented with the number of merged targets (#Targets) found by numerous motifs (#Motifs). CEBPE is the transcription factor with the highest NES score. It regulates 186 targets and these genes are detected by 26 motifs. The transcription factor with the fifth highest NES corresponds to NFKB1. It has 131 targets found by 6 motifs.In the picture below you see the transcription factors detected by iRegulon analysis on the ranked list of upregulated genes. The top table shows the enriched TFs ranked by the maximal enrichment score of the motif or the maximal enrichment score for a given TF (=NES), presented with the number of merged targets (#Targets) found by numerous motifs (#Motifs).
CEBPE is the transcription factor with the highest NES score. It regulates 186 targets and these genes are detected by 26 motifs. The transcription factor with the fifth highest NES corresponds to NFKB1. It has 131 targets found by 6 motifs.
<img width="50%" src="/user/r0368280/files/Examenopdracht/Pictures/CYTOSCAPE_UP.jpg">
### 3.2 Downregulated genesIn the picture below you see the transcription factors detected by iRegulon analysis on the ranked list of downregulated genes. Several transcription factors are GATA1 (which has the highest NES), E2F4 and FOXM1.In the picture below you see the transcription factors detected by iRegulon analysis on the ranked list of downregulated genes. Several transcription factors are GATA1 (which has the highest NES), E2F4 and FOXM1.
<img width="50%" src="/user/r0368280/files/Examenopdracht/Pictures/CYTOSCAPE_DOWN.jpg">
From these two lists we have to choose a transcription factor that could be the regulator of the differentially expressed genes in rheumatoid arthritis. Based on the literature and the known association of NFKB1 with inflammation we chose NFKB1 as a possible regulator of the upregulated genes in RA.We visualised the connection of NFKB1 with its target genes in the picture below. This is a network from the co-expressed genes (i.e. upregulated genes) with the transcription factor NFKB1.From these two lists we have to choose a transcription factor that could be the regulator of the differentially expressed genes in rheumatoid arthritis. Based on the literature and the known association of NFKB1 with inflammation we chose NFKB1 as a possible regulator of the upregulated genes in RA.
We visualised the connection of NFKB1 with its target genes in the picture below. This is a network from the co-expressed genes (i.e. upregulated genes) with the transcription factor NFKB1.
<img width="50%" src="/user/r0368280/files/Examenopdracht/Pictures/PrintscreenA.png">
Another tool we can use for motif discovery is DIRE (identification of distant regulatory elements of co-regulated genes). We uploaded the upregulated genes in DIRE and we saw that NFKB1 is among the top TFs. This means that the NFKB1 recognition sequence is enriched in the promotors of the input genes; the input is enriched for direct targets of NFKB1.Another tool we can use for motif discovery is DIRE (identification of distant regulatory elements of co-regulated genes). We uploaded the upregulated genes in DIRE and we saw that NFKB1 is among the top TFs. This means that the NFKB1 recognition sequence is enriched in the promotors of the input genes; the input is enriched for direct targets of NFKB1.
<img width="50%" src="/user/r0368280/files/Examenopdracht/Pictures/PrintscreenB.png">
## 4. GeneMANIAWe now have the NFKB1 network that is solely based on co-expressed genes. We can also connect transcription factors with genes based on physical interactions, co-localization, genetic interactions etc. This can be done by GeneMANIA (max resultant gene was set on 100). We retrieved an association network for NFKB1 from GeneMANIA (picture below). We now have the NFKB1 network that is solely based on co-expressed genes. We can also connect transcription factors with genes based on physical interactions, co-localization, genetic interactions etc. This can be done by GeneMANIA (max resultant gene was set on 100). We retrieved an association network for NFKB1 from GeneMANIA (picture below).
<img width="50%" src="/user/r0368280/files/Examenopdracht/Pictures/PrintscreenC.png">
We now upload the list of genes generated by GeneMANIA in cytoscape and perform iRegulon analysis. We now upload the list of genes generated by GeneMANIA in cytoscape and perform iRegulon analysis.
##### iRegulon analysisWe see that NFKB1 is still detected as a transcription factor. The direct targets are significantly enriched in the association network.We see that NFKB1 is still detected as a transcription factor. The direct targets are significantly enriched in the association network.
<img width="50%" src="/user/r0368280/files/Examenopdracht/Pictures/PrintscreenD.png">
## 5. Chipseq analysis (other notebook: Examenopdracht_GROUP12_PART2_BASH)The next question is if the transcription factor NFKB1 directly regulates the target genes. Does NFKB1 bind to the target genes (i.e. the upregulated genes in RA)? This can be investigated by use of Chipseq analysis. Because chipseq analysis is performed in Bash and microarray analysis in R we make a new notebook and continue working in that one. The next question is if the transcription factor NFKB1 directly regulates the target genes. Does NFKB1 bind to the target genes (i.e. the upregulated genes in RA)? This can be investigated by use of Chipseq analysis. Because chipseq analysis is performed in Bash and microarray analysis in R we make a new notebook and continue working in that one.