Answers.Body: <p>Use logFC. Gene expression is approximately log-normal when considering lots of different genes. Also, cDNA sequencing is a proportional result, so the relative values (rather than absolute values) should be used for calculations.</p>
  <p>No idea about p-values though. Can you generate a distribution based on the observations in the permutation tests?</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-04-09T07:26:06.750Z
Answers.Text: yes i did it and it was successful thank you!
Answers.UserDisplayName: Netanel Cohen
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-04-08T12:29:43.560Z
Answers.LastActivityDate: 2024-04-09T09:02:25.657Z
Answers.LastEditDate: 2024-04-09T09:02:25.657Z
Answers.UserDisplayName: gringer
Body: <p>I have a simple RNA-seq experiment with treatment and control, each with 3 biological repeats. I run my data through edgeR and obtained differentially expressed genes (DEGs). Due to the low sample number and small effect size, there are likely more genes affected by the treatment that didn't meet the cutoff. For that reason, I want to try extracting more information from my data using a permutation test. I resampled my data by shuffling the columns and generated 1000 permuted dataframes. Next, I run each dataframe through my edgeR pipeline, which produced results such as RowName, logFC, logCPM, LR, and PValue. My qustion is, Which value (for example, logFC or PValue) do I take from each permuted dataframe to generate the distribution for each gene and calculate the p-value? Also, what is the p-value calculation?</p>
  <p>Thank you!</p>
  
Tags: <r><edger>
Title: permutation test in edgeR
ThreadText: # permutation test in edgeR
  
  (Asked by: username_0 on 2024-04-08)
  
  I have a simple RNA-seq experiment with treatment and control, each with 3 biological repeats. I run my data through edgeR and obtained differentially expressed genes (DEGs). Due to the low sample number and small effect size, there are likely more genes affected by the treatment that didn't meet the cutoff. For that reason, I want to try extracting more information from my data using a permutation test. I resampled my data by shuffling the columns and generated 1000 permuted dataframes. Next, I run each dataframe through my edgeR pipeline, which produced results such as RowName, logFC, logCPM, LR, and PValue. My qustion is, Which value (for example, logFC or PValue) do I take from each permuted dataframe to generate the distribution for each gene and calculate the p-value? Also, what is the p-value calculation?
  
  Thank you!
  
  **Tags:** r, edger
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2024-04-08. Score: 1 | Accepted answer
  
  Use logFC. Gene expression is approximately log-normal when considering lots of different genes. Also, cDNA sequencing is a proportional result, so the relative values (rather than absolute values) should be used for calculations.
  
  No idea about p-values though. Can you generate a distribution based on the observations in the permutation tests?
  
  > **Comments:**
  > **username_0**: yes i did it and it was successful thank you!  
  
  ---
  
  