We are analyzing RNA-seq data of virus-infected samples (n=5) and control samples (n=5).  We plan to calculate the fold changes of read count between the virus-infected and control samples.  We would like to have the fold change data of each gene in each sample by dividing the mean read count of control samples, then, draw a heat map based on the fold change of each sample.  Here, we wonder how we can calculate the fold change of the gene whose read count is 0 in the control group.  We consulted a bioinformatician, who had advised us to use DESeq2 (https://www.bioconductor.org/packages/release/bioc/vignettes/DESeq2/inst/doc/DESeq2.html#standard-workflow).  The script in R that we used is as follows:

in_f

Similar questions and discussions