pca graph

Compute PCA coordinates with optional colour.

Parameters

gene: List[str] Genes to supply as color argument in PCA.


Web view

pca_graph_screenshot

Python equivalent

import scanpy as sc

genes = ['brca1', 'brca2']
sc.tl.pca(adata, svd_solver='arpack')
sc.pl.pca(adata, color=genes)