I am just getting started with R and I am looking for differentially expressed genes between men and women. The problem is, as I browseVignettes, I find I am just copying commands and arguments without really knowing what they mean. For example, which(phenoData(lgg_data)$idh1_mutation_found=="Yes" is given as an example. The string has so many things going on, and being new to programming I am having a hard time. Is there a DESeq resource that goes through these commands and arguments? I have an R book, but it doesn't go into "phenoData" and "mutation" and these biological areas.
Try breaking things down, and trying stuff out to see what it's made of. Commands like head(), str(), table() and summary()
For example, try doing head(phenoData(lgg_data)) or str(phenoData(lgg_data)) or summary(phenoData(lgg_data)). What happens?
Then try head(phenoData(lgg_data)$idh1_mutation_found) and summary(phenoData(lgg_data)$idh1_mutation_found) and table(phenoData(lgg_data)$idh1_mutation_found)
Hint "idh1_mutation_found" is actually the name of a column in phenodata which contains a factor.
R is hard, and so is bioinformatics. There is no way around googling and trying stuff, sorry. Or do all of the edX Xseries on biological data analysis with R - but this will take you > month and not solve your direct problem.
Try this workflow from bioconductor, it will get you started and provides explanation on commands.