Hello everyone, would you mind helping me. I am using TCGAbiolinks to get TCGA data, I want to get fpkm instead of count, on the other hand I have to use STAR-counts instead of HTseq-counts since TCGA has been updated.
library(TCGAbiolinks)
stadquery <- GDCquery(project = "TCGA-STAD",
data.category = "Transcriptome Profiling",
data.type = "Gene Expression Quantification",
workflow.type = "STAR - Counts", legacy = F,
experimental.strategy = "RNA-Seq")
GDCdownload(query = stadquery, method = "api",)
stadprpr <- GDCprepare(query = stadquery, summarizedExperiment = T)
but when I use Exdata <-stadprpr@assays@data$fpkm_uq_unstrand
, the matrix doen't contain the colnames(samples)
and rownames(genes)
. How can I fix it? Thanks in advance.
I appreciate your help