Entering edit mode
Dear developers,
Could I use the varianceStabilizingTransformation (VST) to treat RNA-seq data with no replications?
Thanks in advance!
Dear developers,
Could I use the varianceStabilizingTransformation (VST) to treat RNA-seq data with no replications?
Thanks in advance!
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
sorry for bothering you again.
I have only one count dataset of 6 samples without replications. So I couldn't estimate the parameters on another dataset and use
dispersionFunction
to save the dispersion function. What do you suggest me to do?I used
dataset <- DESeqDataSetFromMatrix(countData = countdata,colData = colData, design = ~ condition, tidy = TRUE, ignoreRank = FALSE)
to get a DESeqDataSet.But when I used
VSTdataset <- varianceStabilizingTransformation(dataset, blind = FALSE, fitType = "local")
, it showederror in estimateDispersionsGeneEst(object, quiet = TRUE) : the number of samples and the number of model coefficients are equal, i.e., there are no replicates to estimate the dispersion. use an alternate design formula
. I thought it might be caused by no replications.Then I used
dataset <- DESeqDataSetFromMatrix(countData = countdata,colData = colData, design = ~ 1, tidy = TRUE, ignoreRank = FALSE)
to get another DESeqDataSet. Fortunately, theVSTdataset <- varianceStabilizingTransformation(dataset, blind = FALSE, fitType = "local")
worked.Do you think the
design= ~1
andblind = FALSE or TURE
can be used for dataset with no replications?Thanks in advance!
You can run the VST on 6 samples without replication using
blind=TRUE
(the default) anddesign=~1
.There's not a good case for end-users to use the
ignoreRank
argument. This is just for the DEXSeq package, kind of a backdoor.Thanks for your prompt response!
I also encountered the same problem, thank you for your answer, but I still want to ask a question as a bioinformatic rookie. When I use the above command like
VSTdataset <- varianceStabilizingTransformation(dataset, blind = FALSE, fitType = "local")
, which parameter forfitType
should be selected for dataset without replications?parametric
,local
ormean
?Any of those are valid
Any of those are valid choices.