Hello,
I am trying to redo what a paper did. For this I must perform FPKM on DESeq data.
I have tried:
dds <- DESeqDataSetFromMatrix(mrna_df, colData = mrna_meta, design = ~ Condition)
fpkmres <- fpkm(dds)
ddsDESeq <- DESeq(dds)
fpkmres <- fpkm(dds)
dds_SizeFactors <- estimateSizeFactors(dds)
fpkmres <- fpkm(dds_SizeFactors)
But all of the three above options give me the following warning:
Error in fpkm(dds) : rowRanges(object) has all ranges of zero width.
the user should instead supply a column, mcols(object)$basepairs,
which will be used to produce FPKM values
I was wondering if someone has an example or a template where DESeq2 is used together with FPKM.
Thanks in advance
Please edit your post and add a link to the paper you're trying to replicate.