Knguye66 Eyoung20 Week 12/13

From LMU BioDB 2019
Revision as of 14:16, 25 November 2019 by Eyoung20 (talk | contribs) (Conclusion: added more to the conclusion)
Jump to navigation Jump to search

Combined Individual Journals for Kaitlyn Nguyen and Emma Young (Data Analysts).

Purpose

The purpose of this assignment is to record our progress towards the FunGals group deliverables as the Data Analysts for this week and the future weeks to come. The purpose of week 12 specifically was to download and adapt the data to the formatting we need for analysis.

Methods and Results: Progress

Progress 11/21/19

  • Our group decided to have the ANOVA, sanity check, and STEM set-up done BEFORE class on Thursday, 11/21/19
  • First created a worksheet and labeled accordingly based on the format the Coder's Guild decided
  • Finished the steps on Week 8 for Statistical Analysis Part I: ANOVA on Microsoft Excel for the new MicroArray Data found on the Data Analysis page
    • For questions asked on the p-value (use: "out of 4467" genes instead of "out of 6189" to adjust for this data)
  • Following the ANOVA: Part I, Bonferroni, Benjamini & Hochberg, and p-value correction, a quick sanity check was performed for the p-value dataset.
  1. Created a new worksheet, naming it either "S288C_ANOVA"
  2. Copied the first three columns containing the "MasterIndex", "ID", and "Standard Name" from the "Master_Sheet" worksheet for our strain and pasted it into a new worksheet. Copied the columns containing the data for our strain and pasted it into the new worksheet
    • Standard Name was not in the original downloaded data, so it a third column (C) was added with the Standard Names to the genes
    • Coder/Project Manager confirmed with their guild on the format of the column names (STRAIN)_(NAME)_(CONCENTRATION)_LogFC_(TIME)-(REPLICATES), ie. S288C_thiuram_75uM_LogFC_t15m-3
      • Data was copied over, with times and repeats of the experiment starting from least to greatest
  3. At the top of the first column to the right of the data, three column headers were created of the form (STRAIN)_(NAME)_(CONCENTRATION)_AvgLogFC_(TIME) where STRAIN is your strain designation and (TIME) is 15, 30, 120. ie. S288C_thiuram_75uM_AvgLogFC_t15m
  4. In the cell below the S288C_thiuram_75uM_AvgLogFC_(TIME) header, typed =AVERAGE(
  5. Then highlighted all the data in row 2 associated with t15m, pressed the closing parent key (shift 0),and pressed the "enter" key.
  6. This cell now contained the average of the log fold change data from the first gene at t=15 minutes.
  7. Clicked on this cell and positioned the cursor at the bottom right corner. We saw our cursor change to a thin black plus sign (not a chubby white one). When it did, we double clicked, and the formula copied to the entire column of 4467 other genes.
  8. Repeated steps (4) through (8) with the t30m, and t120m data.
  9. Now in the first empty column to the right of the S288C_thiuram_75uM_AvgLogFC_t120m calculation, we created the column header S288C_thiuram_75uM_ss_HO.
  10. In the first cell below this header, typed =SUMSQ(
  11. Highlighted all the LogFC data in row 2 (but not the AvgLogFC), pressed the closing parent key (shift 0),and pressed the "enter" key.
  12. In the next empty column to the right of S288C_thiuram_75uM_ss_HO, created the column headers S288C_thiuram_75uM_ss_(TIME) as in (3).
  13. Made a note of how many data points we had at each time point for our strain. Ours had 3 replicates each. Also, made a note of the total number of data points (4468).
  14. In the first cell below the header S288C_thiuram_75uM_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 counted the number of cells in the specified range that had data in them (i.e., did not count cells with missing values).
    • The phrase <range of cells for logFC_t15> was replaced by the data range associated with t15m.
    • The phrase <AvgLogFC_t15> was replaced by the cell number in which we computed the AvgLogFC for t15m, and the "^2" squares that value.
    • Upon completion of this single computation, used the Step (7) trick to copy the formula throughout the column.
  15. Repeated this computation for the t30m through t120m data points.
  16. In the first column to the right of S288C_thiuram_75uM_ss_t120m, created the column header S288C_thiuram_75uM_SS_full.
  17. In the first row below this header, typed =sum(<range of cells containing "ss" for each timepoint>) and hit enter.
  18. In the next two columns to the right, created the headers S288C_thiuram_75uM_Fstat and S288C_thiuram_75uM_p-value.
  19. Recalled the number of data points from (13): called that total n.
  20. In the first cell of the S288C_thiuram_75uM_Fstat column, typed =((n-3)/3)*(<(S288C_thiuram_75uM_ss_HO>-<(S288C_thiuram_75uM_SS_full>)/<(S288C_thiuram_75uM_SS_full> and hit enter.
    • n =9. "3" is the number of timepoints (ie. t15m, t30m, t120m)
    • Replaced the phrase S288C_thiuram_75uM_ss_HO with the cell designation.
    • Replaced the phrase <S288C_thiuram_75uM_SS_full> with the cell designation.
    • Copied to the whole column.
  21. In the first cell below the S288C_thiuram_75uM_p-value header, typed =FDIST(<(S288C_thiuram_75uM_Fstat>,3,9-3) replacing the phrase <(S288C_thiuram_75uM_Fstat> with the cell designation and the "n" with
  22. Before we moved on to the next step, we performed a quick sanity check to see if we did all of these computations correctly.
    • Clicked on cell A1 and click on the Data tab. Selected the Filter icon (looks like a funnel). Little drop-down arrows appeared at the top of each column. This enabled us to filter the data according to criteria we set.
    • Clicked on the drop-down arrow on your S288C_thiuram_75uM_p-value column. Selected "Number Filters". In the window that appeared, we set a criterion that filter our data so that the p-value had to be less than 0.05.
  23. Before continuing the next steps, filters were undone.
  24. We performed adjustments to the p-value to correct for the multiple testing problem. Labeled the next two columns to the right with the same label, S288C_thiuram_75uM_Bonferroni_p-value.
  25. Type the equation =<S288C_thiuram_75uM_p-value>*4467, Upon completion of this single computation, used the Step (10) trick to copy the formula throughout the column.
  26. Replaced any corrected p-value that is greater than 1 by the number 1 by typing the following formula into the first cell below the second S288C_thiuram_75uM_Bonferroni_p-value header: =IF((STRAIN)_Bonferroni_p-value>1,1,(STRAIN)_Bonferroni_p-value), where "S288C_thiuram_75uM_Bonferroni_p-value" refers to the cell in which the first Bonferroni p-value computation was made. Used the Step (10) trick to copy the formula throughout the column.
  27. Inserted a new worksheet named "S288C_thiuram_75uM_ANOVA_B-H".
  28. Copied and pasted the "MasterIndex", "ID", and "Standard Name" columns from our previous worksheet into the first two columns of the new worksheet.
  29. For the following, used Paste special > Paste values. Copied our unadjusted p-values from our ANOVA worksheet and pasted it into Column D.
  30. Selected all of columns A, B, C, and D. Sorted by ascending values on Column D. Clicked the sort button from A to Z on the toolbar, in the window that appeared, sorted by column D, smallest to largest.
  31. Typed the header "Rank" in cell E1. We created a series of numbers in ascending order from 1 to 4467 in this column. This is the p value rank, smallest to largest. Typed "1" into cell E2 and "2" into cell E3. Selected both cells E2 and E3. Double-click on the plus sign on the lower right-hand corner of your selection to fill the column with a series of numbers from 1 to 6189.
  32. Calculated the Benjamini and Hochberg p value correction by typing S288C_thiuram_75uM_B-H_p-value in cell F1. Typed the following formula in cell F2: =(D2*4467)/E2 and pressed enter. Copied that equation to the entire column.
  33. Typed "S288C_thiuram_75uM_B-H_p-value" into cell G1.
  34. Typed the following formula into cell G2: =IF(F2>1,1,F2) and press enter. Copied that equation to the entire column.
  35. Selected columns A through G. Sorted them by your MasterIndex in Column A in ascending order.
  36. Copied column G and used Paste special > Paste values to paste it into the next column on the right of our ANOVA sheet.

Sanity Check Questions:

-Unadjusted p-value-

  1. How many genes have p<0.05? and what is the percentage (out of 4467)?
    • 1662 : 37.2%
  2. How many genes have p<0.01? and what is the percentage (out of 4467)?
    • 811 : 18.16%
  3. How any genes have p<0.001? and what is the percentage (out of 4467)?
    • 225 : 5.04%
  4. How many genes have p<0.0001? and what is the percentage (out of 4467)?
    • 39 : 0.87%

-Bonferroni & Benjamini and Hochberg p-value-

  1. How many genes are p<0.05 for the Bonferroni-corrected p-value? and what is the percentage (out of 4467)?
    • 5 , 0.11%
  2. How many genes are p <0.05 for the Benjamini and Hochberg-corrected p-value? and what is the percentage (out of 4467)?
    • 731, 16.36%
  • Microarray data was prepared to be loaded into the STEM software
  • A new worksheet was added into the Excel workbook, and named "Thiuram_stem".
  • Then all of the data from your "Thiuram_ANOVA" worksheet was Paste special > paste values into the "Thiuram_stem" worksheet.
    • The leftmost column had the column header "Master_Index". This was renamed to "SPOT".
    • Column B that says "ID" was renamed to "Gene Symbol". There was no column for standard name present on the data given.
  • The data was then filtered on the B-H corrected p-value to be > 0.05
    • Once the data was filtered, we selected all of the rows (except for your header row) and deleted the rows by right-clicking and choosing "Delete Row" from the context menu. the filter was undone. This then ensured that we will cluster only the genes with a "significant" change in expression and not the noise.
  • Deleted all of the data columns EXCEPT for the Average Log Fold change columns for each timepoint.
    • Renamed the data columns with just the time and units (for example, 15m, 30m, etc.).
      • Saved work.
  • An error was found in the anova results so the process is being repeated.
  • there was too few results in the repeated stem analysis, only 6 results.
  • The third try was successful and resulted in 731 gene entries that fit with the results of the Benjamini and Hochberg-corrected p-value sanity check results.

Conclusion

The first stage of our group's project was completed via referencing Week 8 and using Microsoft Excel to complete the tasks. The excel file will be located in the FunGals page for viewing and download. We were able to successfully complete the ANOVA analysis and correct found mistakes. We were able to complete a sanity check with results showing. For the sanity check the unadjusted p- values showed 37.2% of the genes had a p<0.05, 18.16% had a p<0.01, 5.04% have p<0.001, and 0.87% have p<0.0001. The sanity check for the Bonferroni-corrected p-value 0.11% of the genes have p<0.05. For the sanity check on the Benjamini and Hochberg-corrected p-value 16.36% go the genes had a p <0.05. Finally we were able to prepare the Data to run STEM in the next step of working on this project.

Data and files

excel workbook

Acknowledgements

This section is in acknowledgement to partner Kaitlyn Nguyen (User:knguye66), Michael Armas (User:Marmas), as well as, Iliana Crespin (User:Icrespin), and Emma Young (User:eyoung20). We would also like to acknowledge Dr. Dahlquist (User:KDahlquist) for introducing and teaching the topic and direction of this assignment.

"Except for what is noted above, this individual journal entry was completed by me and not copied from another source." Knguye66 (talk) 18:49, 20 November 2019 (PST)

References

User Page

User:knguye66

Template Page

Template:knguye66


Table of all assignments and journal entries for BIO-367-01

Week Individual Journal Entry Shared Journal
Week 1 - Class Journal Week 1
Week 2 knguye66 Week 2 Class Journal Week 2
Week 3 ILT1/YDR090C Week 3 Class Journal Week 3
Week 4 knguye66 Week 4 Class Journal Week 4
Week 5 DrugCentral Week 5 Class Journal Week 5
Week 6 knguye66 Week 6 Class Journal Week 6
Week 7 knguye66 Week 7 Class Journal Week 7
Week 8 knguye66 Week 8 Class Journal Week 8
Week 9 knguye66 Week 9 Class Journal Week 9
Week 10 knguye66 Week 10 Class Journal Week 10
Week 11 knguye66 Week 11 FunGals
Week 12/13 knguye66 Eyoung20 Week 12/13 FunGals
Week 15 knguye66 Eyoung20 Week 15 Class Journal Week 15

Eyoung20 user page

Assignment pages Individual Journal Class Journal
week 1 Eyoung20 journal week 1 Class Journal Week 1
week 2 Eyoung20 journal week 2 Class Journal Week 2
week 3 ASP1/YDR321W Week 3 Class Journal Week 3
week 4 Eyoung20 journal week 4 Class Journal Week 4
week 5 Ancient mtDNA Week 5 Class Journal Week 5
week 6 Eyoung20 journal week 6 Class Journal Week 6
week 7 Eyoung20 journal week 7 Class Journal Week 7
week 8 Eyoung20 journal week 8 Class Journal Week 8
week 9 Eyoung20 journal week 9 Class Journal Week 9
week 10 Eyoung20 journal week 10 Class Journal Week 10
week 11 Eyoung20 journal week 11 FunGals
week 12/13 Knguye66 Eyoung20 Week 12/13 FunGals
week 15 Knguye66 Eyoung20 Week 15 FunGals