Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

transformed_expression.txt? #4

Open
jcabanad opened this issue Mar 11, 2021 · 1 comment
Open

transformed_expression.txt? #4

jcabanad opened this issue Mar 11, 2021 · 1 comment

Comments

@jcabanad
Copy link

Hi,

I'm using your tutorial and I have a doubt regarding this sentence:

"We want to generate PEER factors https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3398141/ and use those as our covariates and then perform a multiple linear regression for each gene in our gene expression matrix and then save the residuals from the regressions as our new expressions."

After seeing this sentence, It seems to me that the "transformed_expression.txt" file that we are going to use later in the script will be the our expression data modified according PEER factors, that in the script is named "residuals_expression.txt". But it is not like this, according the script, "transformed_expression.txt" is just our expression data transposed (the same than we used to built PEER factors).

It would be like this or there is an error in the script? Why do we need this file "residuals_expression.txt"?

Additionally, I'm having a lot of troubles installing PEER tools. Which version would you recommend me to use R or Pyhton?

Thank you very much.

Best regards,

Judit

@Fnyasimi
Copy link
Collaborator

Fnyasimi commented Mar 11, 2021

@jcabanad The adjusting for the covariates (PEERS in this case) happens within the elastic net script. The residual expression was made available if you need to do other analyses apart from the model training. Additionally you can combine other covariates together with peer factors.

For PEER tools installation follow this guideline

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants