STREAM2.
API
Import stream2 as:
import stream2 as st2
Configuration for STREAM2
|
Set global parameters for figures. |
|
Set working directory. |
Reading
|
Read .csv file. |
|
Read .h5ad-formatted hdf5 file. |
|
|
|
Read .mtx file. |
See more at anndata
Preprocessing
|
Return the natural logarithm of one plus the input array, element-wise. |
|
Normalize count matrix. |
|
Calculate quality control metrics. |
|
Filter out features based on different metrics. |
|
perform Principal Component Analysis (PCA) |
|
Select highly variable genes. |
Tools
|
perform dimension reduction |
|
Seeding the initial elastic principal graph. |
|
Learn principal graph. |
|
Infer pseudotime :param adata: Annotated data matrix. |
|
|
|
|
|
|
|
|
|
Refit graph to data |
|
Plotting
|
Plot the variance ratio. |
|
Plot highly variable genes. |
|
Violin plot. |
|
Plot principal graph. |
|
Plot coordinates in low dimensions. |
|
Generate stream plot at single cell level (aka, subway map plots) |
|
Generate stream plot at density level |