> vln_plot <- VlnPlot(scRNA, features = c("nFeature_RNA", "nCount_RNA", "percent.mt"), ncol = 3) Warning: Default search for "data" layer in "RNA" assay yielded no results; utilizing "counts" layer instead. Warning message: The following requested variables were not found: percent.mt
需要提前计算
scRNA[["percent.mt"]] <- PercentageFeatureSet(scRNA, pattern = "^MT-")
再运行绘图代码即可