Copying data annotation
[ Main_Page | Exercises on using qbase+ ]
The experiment consists of two runs (plates): Run9 and Run10
The following samples were used:
- 10 control samples: control1, control2…
- 10 treated samples: treated1, treated2…
- 1 no template control: NTC
- 1 positive control: POS
The expression of the following genes was measured:
- 2 reference genes: Refgene1 and Refgene2
- 2 genes of interest: Gene1 and Gene2
Creating a new experiment
Create a new Experiment called CopyAnnotation in Project1 |
---|
You can find the details on how to create a new experiment in Creating a project and an experiment |
Loading the data
Import Run9 and Run10. These files are in qBase format. |
---|
You can find the details on how to import the data file in the Loading the data into qbase+ section of Analyzing data from a geNorm pilot experiment in qbase+ |
Close the Analysis wizard by clicking the Close wizard button and look at the data. Open both files simultaneously so that you can compare the annotation.
Do you see differences in annotation ? |
---|
Expand Runs in the Project Explorer and double click the names of the runs you want to open. You can visualize the two files simultaneously by:
As you can see Run9 contains the data of the reference genes, while Run10 contains the data of the genes of interest. |
Copying annotation
Fortunately, qbase+ allows to copy and paste run annotation in a very simple manner using Apply run layout.
Copy the names of the samples from the first run and paste them in the second run ? |
---|
This opens the Source Run window where you can specify the run you want to copy the annotation from.
This opens the Copy properties window where you can specify which annotation you want to copy.
Click Finish.
|
Nice ! However, qbase+ does not automatically clean up the samples list: the old sample names of the second run are still in the samples list.
Clean up the samples list. |
---|
|
We are going to add a custom property from this sample properties file to make a distinction between treated and control samples in later analysis steps.
Add the property. |
---|
To do this we go back to the Analysis wizard by clicking the Launch wizard button. Since the experiment already exists, choose to Analyse an existing qbase+ experiment.
Click Next.
Browse to the sample properties file and select it
Indicate that you are downloading Custom properties
Click Finish You can find the details on how to add a custom property from a sample properties file in Creating a sample properties file |
Analyzing the data
Choose the type of analysis you want to perform. |
---|
|
Check controls and replicates. |
---|
First set the minimum requirements for controls and replicates. You see that 14 replicates do not meet these requirements (red). Select to Show details and manually exclude bad replicates
Qbase+ will now open the results for the failing replicates: as you can see the difference in Cq values between these replicates is not that big. They fail to meet the requirement just slightly.
Click the +/- controls tab (red) to open the results for the failing controls. Select to view the results of the Failing positives (green): as you can see you don't have data for the positive controls (blue) which is why they fail.
|
Click the Continue wizard button.
Which amplification efficiencies strategy are you going to use ? |
---|
You don't have data of serial dilutions of representative template to build standard curves so the only choice you have is to use the default amplification efficiency (E = 2) for all the genes. |
Appoint the reference genes as reference targets. |
---|
Appoint refgene1 and refgene2 as reference targets. As you can see the M- and CV values are shown in green meaning that the reference genes are stable in these samples:
You can find the details on how to appoint reference targets in the Normalization section of Analyzing gene expression data in qbase+ |
Which scaling strategy are you going to use ? |
---|
Since you have a treated and a control group, it seems logical to use the average of the control group for scaling.
You can find the details on how to specify the scaling strategy in the Scaling section of Analyzing gene expression data in qbase+ |
Look at the target bar charts.
In the target bar charts group the samples according to treatment. |
---|
You can find the details on how to group the samples in the Visualization of the results section of Analyzing gene expression data in qbase+ |
The samples of each group are biological replicates so you might want to generate a plot that compares the average NRQ of the treated samples with the average NRQ of the untreated samples.
In the target bar charts plot the group averages instead of the individual samples. |
---|
You can find the details on how to group the samples in the Analyzing the data section of Second exercise on analyzing gene expression data in qbase+ |
Are there any genes for which you see a clear difference in expression between the two groups ? |
---|
For gene 1, the mean expression levels in the two groups are almost the same and the error bars overlap.
When you look at the title of the Y-axis, you see that 95% confidence levels are used as error bars. In case of 95% confidence intervals you can use the following rules:
For gene 2, the mean expression levels in the two groups are very different and the error bars do not overlap. So the 95% confidence intervals do not overlap meaning that we can be certain that the difference between the means of the two groups is significant. Error creating thumbnail: Unable to save thumbnail to destination Note that the average expression level of the control group is indeed set to 1 by our scaling strategy
|
Use a statistical test to compare the expression levels between the two groups of samples ? |
---|
You have 10 replicates per group meaning that you can check wether the data is drawn from a normal distribution. To this end export the data to a csv file that can be imported in GraphPad Prism. To export click the up-pointing arrow (red) in the top menu:
This opens the Export window where you need to indicate the data to you wish to export. In our case we want to export normalized expression levels (= CNRQs Calibrated Normalized Relative Quantities)
Since qbase+ automatically log10 transforms the data before doing statistics we want to check if the log10 transformed expression levels (red) are coming from a normal distribution. Additionally tell qbase+ where to store the file with the exported data (green).
Export to an Excel file. However, on the BITS laptops there's is no excel installed which prevents Prism from loading excel files. Therefore download the corresponding csv file here. Prism will not have any trouble loading this.
Prism has now created a table to hold the data of the control samples but at this point the table is still empty. To load the data:
In the View tab you can see what Prism makes of the data
As the file is opened in Prism you see that the first column containing the sample names is treated as a data column. Right click the header of the first column and select Delete
Now we can check if the data come from a normal distribution:
Prism now generates a table to hold the results of the statistical analysis:
As you can see, all control data sets are normally distributed.
Again all data come from a normal distribution, which means that we may tell qbase+ that our data is normally distributed and perform a less stringent t-test. Statistical analyses can be performed via the Statistics wizard. Open the Statistics wizard:
and proceed by explaining the details of your analysis
The p-value of gene2 is smaller than 0.05 so it has a statistically significant difference in expression levels in treated samples compared to comtrol samples. For gene1 the p-value is larger than 0.05 so we have no evidence to conclude that the expression of gene1 is different in treated compared to control samples. |