Entering edit mode
5.2 years ago
fi1d18
★
4.2k
Hi,
I need to do differential expression between biopsy taken before and after enduring exercises. I made my target file so:
> head(targets)
Sample_ID Condition
1 PARTICIPANT_1_Pre-training Pre-training
2 PARTICIPANT_1_Post-training Post-training
3 PARTICIPANT_2_Pre-training Pre-training
4 PARTICIPANT_2_Post-training Post-training
5 PARTICIPANT_3_Pre-training Pre-training
6 PARTICIPANT_3_Post-training Post-training
Based on this lab http://www.bioconductor.org/help/course-materials/2005/BioC2005/labs/lab01/estrogen/
by
cont.matrix <- makeContrasts(Condition="Post-training-Pre-training",levels=design)
But gives me this error
Error in makeContrasts(Condition = "Post-training-Pre-training", levels = design) : The levels must by syntactically valid names in R, see help(make.names). Non-valid names: Post-training,Pre-training
Then how are compare pre and post training?
You need to create vector called "design" example
So 1 will for Pre-training and 2 will be for post training. Then rerun the above code Also you can refer https://www.bioconductor.org/packages/3.7/bioc/vignettes/limma/inst/doc/usersguide.pdf
Error in (1 - h) * qs[i] : non-numeric argument to binary operator
create this
Then this
Thank you
Saying
A syntactically valid name consists of letters, numbers and the dot or underline characters and starts with a letter or the dot not followed by a number.
Change Post-training Pre-training to Post_training Pre_training from every where in code as well target file
Thanks a lot, the error was fixed by changing - to _ as you suggested.
Just a big doubt; Please look at my design
A skeletal muscle biopsy was obtained from each participant before the first session and after the last session of the exercise training program. RNA from these biopsies was used for microarray gene expression profiling using Affymetrix human whole genome microarrays.
• Did this endurance training program have any significant effects on gene expression?
I did not account for gender
Do you think I am right in comparison?
You are comparing pre or post session gene expression or female vs male gene expression?
In case of comparision of Pre and Post you can group the male and female for pre and post session and do Gene expression for female male for Pre vs Post(4 way analysis) In case you are comparing Female vs male then you should not take into account pre or post condition