calculateQCMetrics defunct, how to calculate the quality metrics by perCellQCMetrics
Ok I have figured it out and I am sharing this in case anyone can get help. I used
sce &lt;-addPerCellQC(sce)

which calculated the QC for all the altexps also and adds them to the colData.