Aporras1 Week 8

From LMU BioDB 2017
Revision as of 03:48, 24 October 2017 by Aporras1 (talk | contribs) (Statistical Analysis Part 1: final notes)
Jump to: navigation, search

User page: Antonio Porras

Assignment page: Week 8

Electronic Notebook

Statistical Analysis Part 1

The purpose of the witin-stain ANOVA test is to determine if any genes had a gene expression change that was significantly different than zero at any timepoint.

  1. Downloaded the excel file and renamed it AP dZAP1.
  2. Created a new worksheet, naming it dZAP1_ANOVA".
  3. Copied the first three columns containing the "MasterIndex", "ID", and "Standard Name" from the "Master_Sheet" worksheet for the strain and pasted it into the new worksheet dZAP1_ANOVA. Copied the columns containing the data for dZAP1 strain and pasted it into the worksheet.
  4. At the top of the first column to the right of data, created five column headers of the form dZAP1_AvgLogFC_t(TIME) for times 15, 30, 60, 90, 120.
  5. In the cell below the dZAP1_AvgLogFC_t15 header, typed =AVERAGE(
  6. Then highlighted all the data in row 2 associated with dZAP1 and t15, press the closing parenthesis key,and pressed the "enter" key.
  7. Clicked on this cell and positioned my cursor at the bottom right corner. Saw my cursor change to a thin black plus sign and double clicked.
  8. Repeated steps (5) through (7) with the t30, t60, t90, and the t120 data.
  9. Now in the first empty column to the right of the dZAP1_AvgLogFC_t120 calculation, I created the column header dZAP1_ss_HO.
  10. In the first cell below this header, I typed =SUMSQ(
  11. I then highlighted all the LogFC data in row 2 for dZAP1 for the respective time, excluding the AvgLogFC, pressed the closing parenthesis key, and pressed the "enter" key.
  12. Clicked on the cell with =SUMSQ( data of dZAP1_ss_HO and saw the cursor change to a thin black plus sign and double clicked.
  13. In the next empty column to the right of dZAP1_ss_HO, I created the column headers dZAP1_ss_t(TIME) for times 15, 30, 60, 90, 120.
  14. I found these data points: t15 had 4 data points, t30 had 4 data points, t60 had 4 data points, t90 had 4 data points, and t120 had 4 data points.
  15. Counted the total data points to be 20.
  16. Highlighted the data columns of dZAP1_LogFC_t15 through dZAP1_LogFC_t120 excluding the AvgLogFCs and pressed CTL+F.
  17. In the "Replace" tab, typed "NA" and clicked "Replace All".
  18. Found that it replaced 5100 "NA"s.
  19. In the first cell below the header dZAP1_ss_t15, typed =SUMSQ(<range of cells for logFC_t15>)-COUNTA(<range of cells for logFC_t15>)*<AvgLogFC_t15>^2 and hit enter.
    • The COUNTA function counts the number of cells in the specified range that have data in them (i.e., does not count cells with missing values).
    • The phrase <range of cells for logFC_t15> should be replaced by the data range associated with t15.
    • The phrase <number of data points> should be replaced by the number of data points for that timepoint (either 3, 4, or 5).
    • The phrase <AvgLogFC_t15> should be replaced by the cell number in which you computed the AvgLogFC for t15, and the "^2" squares that value.
    • Upon completion of this single computation, used the Step (7) trick to copy the formula throughout the column.
  20. Repeat this computation for the t30 through t120 data points.
  21. In the first column to the right of dZAP1_ss_t120, created the column header dZAP_SS_full.
  22. In the first row below this header, typed =sum(<range of cells containing "ss" for each timepoint>) and hit enter.
  23. In the next two columns to the right, created the headers dZAP1_Fstat and dZAP1_p-value.
  24. Recall the number of data points: n=20
  25. In the first cell of the dZAP1_Fstat column, typed =((20-5)/5)*(<dZAP1_ss_HO>-<dZAP1_SS_full>)/<dZAP1_SS_full> and hit enter.
    • Replaced the phrase (dZAP1_ss_HO with the cell designation.
    • Replaced the phrase <(dZAP1_SS_full> with the cell designation.
    • Copied to the whole column using step 7 again.
  26. In the first cell below the dZAP1_p-value header, typed =FDIST(<dZAP1_Fstat>,5,n-5) replacing the phrase <dZAP1_Fstat> with the cell designation and the "n" as in 20. Copied to the whole column.
  27. Before we move on to the next step, I performed a quick sanity check to see if I did all of these computations correctly.
    • Clicked on cell A1 and clicked on the Data tab. Selected the Filter icon.
    • Clicked on the drop-down arrow on dZAP1_p-value column. Selected "Number Filters". In the window that appeared, set a criterion that would filter the data so that the p value has to be less than 0.05.
    • Excel will now only displayed the rows that correspond to data meeting that filtering criterion which was 2485 out of 6189.

Acknowledgements

  1. Met outside of class and worked alongside inside class with Katie Wright to discuss any questions we had throughout the process of completing the Week 8 assignment.
  2. Was assisted during the completion of the Week 8 Assignment in class by Dr. Dondi and Dr. Dalquist.

While I worked with the people noted above, this individual journal entry was completed by me and not copied from another source.

Aporras1 (talk) 20:27, 23 October 2017 (PDT)

References

  1. LMU BioDB 2017. (2017). Week 8. Retrieved October 27, 2017, from https://xmlpipedb.cs.lmu.edu/biodb/fall2017/index.php/Week_8