hemberg-lab / scRNA.seq.course

Analysis of single cell RNA-seq data course
https://www.singlecellcourse.org
GNU General Public License v3.0
670 stars 360 forks source link

detect outlier in plotPCA #148

Open JiaruiMi opened 6 years ago

JiaruiMi commented 6 years ago

Hi, I copy the code in http://hemberg-lab.github.io/scRNA.seq.course/cleaning-the-expression-matrix.html#exprs-qc and try plotPCA for automatic cell filtering. I put the code "assay(umi, "logcounts") <- log2(counts(umi) + 1)" before running plotPCA and the warning message is like this

Warning messages: 1: In .disambiguate_args(...) : non-plotting arguments like 'pca_data_input' should go in 'run_args' 2: 'return_SCE=TRUE' is deprecated, use 'runPCA' instead

And the dots in the PCAplot were not colored according to outliers or not. My R version is 3.5 and scater package version is 1.8.0.

Thanks!