Closed ghost closed 4 years ago
The following code may help you get gene name:
gene.cut <- which(row.names(PRAD.final) %in% row.names(DEG_CTRLvsERG)) DEG_CTRLvsERG$Gene_name <- PRAD.final@rowRanges$external_gene_name[gene.cut]
@theroseven It's working! Thank you!
Hi everybody, I found myself stuck with an issue regarding gene names. I have downloaded data mapped on hg38 for which, at the end of the DEA, I obtain only ENSG codes instead of gene names. I would like to find a way to match the two in my data frame with the resulting DEGs to understand them better, and also to be able to plot them in an understandable way. Can somebody help me? I write here some code just as example:
After this point, I obtain a data frame with logFC, FDR etc as columns and ensamble id as rows, like ENSG00000000005, ENSG00000002726, ENSG00000004468... Is there a way in the TCGAbiolinks package to automate the process of matching with gene name?
Thank you!!