Hey Kevin, This is very helpful. Many thanks.
Following your suggestions what I did was to filter genes with low count first from the raw counts file (.gene_reads.gct.gz) using:
i.rm <- which(rowSums(subsetdat)<5000)
subsetdat <- subsetdat[-i.rm,]
Then I transformed the data to a DESeq object with:
subsetDES <- DESeqDataSetFromMatrix(countData = subsetdat,
colData = ctab,
design = ~ 1)
And finally rlog transform:
rld <- rlog(subsetDES)
Is this correct or there's something that I'm missing before use the data as input for gsva?