cstreet


Namecstreet JSON
Version 1.0.3 PyPI version JSON
download
home_pagehttps://github.com/yw-Hua/CStreet
SummaryCStreet is a python script (python 3.6, 3.7 or 3.8) for cell state trajectory construction by using k-nearest neighbors graph algorithm for time-series single-cell RNA-seq data.
upload_time2021-04-08 11:35:03
maintainer
docs_urlNone
authorYuwei Hua
requires_python>=3.6, <3.9
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # CStreet: a computed <ins>C</ins>ell <ins>S</ins>tate <ins>tr</ins>ajectory inf<ins>e</ins>r<ins>e</ins>nce method for <ins>t</ins>ime-series single-cell RNA-seq data

![label1](https://img.shields.io/badge/version-v1.0.2--beta-yellow)	![label2](https://img.shields.io/badge/license-MIT-green)

<!-- **| [Overview](#overview) | [Installation](#installation) | [Quick Start](#quick-start) | [Parameter Details](#parameter-details) | [Run CStreet in python interface](#run-cstreet-in-python-interface) | [Citation](#citation) |**-->
**| [Overview](#overview) | [Installation](#installation) | [Quick Start](#quick-start) | [Parameter Details](#parameter-details) | [Run CStreet in Python interface](#run-cstreet-in-python-interface)  |**


![Figure1](https://github.com/yw-Hua/MarkdownPicture/raw/master/CStreet/Fig1.png)

## Overview

CStreet is a cell state trajectory inference method for time-series single-cell RNA-seq data. It is written in Python (3.6, 3.7 or 3.8) and is available as a command line tool and a Python library to meet the needs of different users.

CStreet uses time-series information to construct the k-nearest neighbors connections within and between time points. Then, CStreet calculates the connection probabilities of cell states and visualizes the trajectory, which may include multiple starting points and paths, using a force-directed layout method.

## Installation

CStreet has been packaged and uploaded to [PyPI](https://pypi.org/project/cstreet/). Before your installation, ensure that you have pip available. pip3 is the package installer for Python. If you do not have pip3 on your machine, click [here](https://pip.pypa.io/en/stable/) to install it. Then, CStreet and its relevant packages can be installed using a single command.

   ```shell
   $ pip3 install cstreet 
   ```

You may experience errors when installing or updating packages. This is because pip3 will change the way that it resolves dependency conflicts. We recommend you use the command below.

   ```shell
   $ pip3 install cstreet --use-feature=2020-resolver
   ```

You may need to use the command below to add the default installation path of pip3 to your system path,

 ```shell
  $ export PATH=~/.local/bin:$PATH
 ```

Then, type the command below to check whether CStreet has been installed successfully.(For the first time running, it may takes about one minute for CStreet’s initial configuration.)

   ```shell
   $ CStreet -h
   ```

## Quick Start

### Step 1. CStreet installation following the above tutorial.

### Step 2. Input preparation

CStreet utilizes time-series expression levels in tab-delimited format or AnnData format as input. 

The cell state information can be generated using the built-in clustering function of CStreet or input by the user. 

We provided a small [test dataset](https://github.com/yw-Hua/CStreet/tree/master/test/test_data) containing normalized expression levels and the state information at three time points. 

Or type the command below to download.

   ```shell
   $ wget https://github.com/yw-Hua/CStreet/raw/master/test/test_data.zip
   $ unzip test_data.zip
   ```

### Step 3. Operation of CStreet

Type the command below to run CStreet.

   ```shell
   $ CStreet -i test_data/ExpressionMatrix_t1.txt test_data/ExpressionMatrix_t2.txt test_data/ExpressionMatrix_t3.txt -s test_data/CellStates_t1.txt test_data/CellStates_t2.txt test_data/CellStates_t3.txt -n test
   ```

### Step 4. Output

The contents of the output directory in tree format will be displayed as described below, including the clustered cell state information if it is not provided by users, the connection probabilities of the cell states and a visualization of the inferred cell state trajectories.

```shell
PATH/ProjectName
├── ProjectName_CStreetTopology.pdf
├── ProjectName_CellStatesConnCytoscape.txt
├── SupplementaryFigures
│   ├── ProjectName_t1_ForceDirectedLayout.pdf
│   ├── ProjectName_t1_LouvainUMAPClustering.pdf
│   ├── ProjectName_t1_LouvainUMAPClusteringCoordinates.txt
│   ├── ProjectName_t2_ForceDirectedLayout.pdf
│   ├── ProjectName_t2_LouvainUMAPClustering.pdf
│   ├── ProjectName_t2_LouvainUMAPClusteringCoordinates.txt
│   └── ...
└── SupplementaryResults
    ├── ProjectName_BetweenTimePoints_CellStatesConnectionProbabilities.txt
    ├── ProjectName_t1_FilteredCellInfo.txt
    ├── ProjectName_t1_FilteredGeneInfo.txt
    ├── ProjectName_t1_CellStatesConnectionProbabilities.txt
    ├── ProjectName_t2_FilteredCellInfo.txt
    ├── ProjectName_t2_FilteredGeneInfo.txt
    ├── ProjectName_t2_CellStatesConnectionProbabilities.txt
    └── ...
```


   ![tiny_data_result.pdf](https://github.com/yw-Hua/MarkdownPicture/raw/master/CStreet/example_project_CStreetTopology.jpg)

## Parameter Details

The parameter details of CStreet are as follows:

```
usage: CStreet [-h] <-i ExpMatrix1 ExpMatrix2 ExpMatrix3 ...> [-s CellStates1 CellStates2 CellStates3 ...] [-n ProjectName] [-o OutputDir] [options]

CStreet is a cell states trajectory inference method for time-series single-cell RNA-seq data.

optional arguments:
  -h, --help            show this help message and exit
  -v, --version         show version number of CStreet and exit
  -i INPUT_EXPMATRIX [INPUT_EXPMATRIX ...], --Input_ExpMatrix INPUT_EXPMATRIX [INPUT_EXPMATRIX ...]
                        This indicates expression matrixes, which contain the
                        time-series expression level as read counts or
                        normalized values in tab-delimited format. For
                        example: '-i ExpressionMatrix_t1.txt
                        ExpressionMatrix_t2.txt ExpressionMatrix_t3.txt'
                        indicates the input of 3 timepoint expression
                        matrixes.
  -T, --Input_CellinCol
                        This determines whether the expression level of one
                        cell is displayed as a column in the expression
                        matrixes. For example, '-T' indicates that the gene
                        expression levels of one cell are displayed in a
                        column and the expression levels of one gene across
                        all cells are displayed in a row.
  -o OUTPUT_DIR, --Output_Dir OUTPUT_DIR
                        The project directory, which is used to save all
                        output files. DEFAULT: "./".
  -n OUTPUT_NAME, --Output_Name OUTPUT_NAME
                        The project name, which is used to generate output
                        file names as a prefix. DEFAULT: "CStreet"
  -s [INPUT_CELLSTATES [INPUT_CELLSTATES ...]], --Input_CellStates [INPUT_CELLSTATES [INPUT_CELLSTATES ...]]
                        An optional parameter that uses CStreet's built-in
                        dimensionality reduction and clustering methods to
                        perform clustering without knowing the cell states
                        (DEFAULT) or accepts the user’s input. The input files
                        should contain the cell state information sharing the
                        same cell ID in the expression matrixes in tab-
                        delimited format.
  --CellClusterParam_PCAn CELLCLUSTERPARAM_PCAN
                        The number of principal components to use, which is
                        enabled only if the cell state information is not
                        provided. It can be set from 1 to the minimum
                        dimension size of the expression matrixes. DEFAULT:
                        10.
  --CellClusterParam_k CELLCLUSTERPARAM_K
                        The number of nearest neighbors to be searched, which
                        is enabled only if the cell state information is not
                        provided. It should be in the range of 2 to 100 in
                        general. DEFAULT: 15.
  --CellClusterParam_Resolution CELLCLUSTERPARAM_RESOLUTION
                        The resolution of the Louvain algorithm, which is
                        enabled only if the cell state information is not
                        provided. A higher resolution means that more and
                        smaller clusters are found. DEFAULT: 0.1.
  --Switch_DeadCellFilter {ON,OFF}
                        The switch for the dead cell filter, which filters
                        cell outliers based on the count percent of
                        mitochondrial genes. DEFAULT: "ON".
  --Threshold_MitoPercent THRESHOLD_MITOPERCENT
                        The maximum count percent of mitochondrial genes
                        needed for a cell to pass filtering, which is enabled
                        only if '--Switch_DeadCellFilter' is "ON". DEFAULT:
                        0.2.
  --Switch_LowCellNumGeneFilter {ON,OFF}
                        The switch for the low cell number gene filter, which
                        retains genes that are expressed in at least a certain
                        number of cells. DEFAULT: "ON".
  --Threshold_LowCellNum THRESHOLD_LOWCELLNUM
                        The minimum number of cells expressed that is required
                        for a gene to pass filtering, which is enabled only if
                        '-- Switch_LowCellNumGeneFilter' is "ON". DEFAULT: 3.
  --Switch_LowGeneCellsFilter {ON,OFF}
                        The switch for the low gene number cell filter, which
                        retains cells with at least a certain number of genes
                        expressed. DEFAULT: "ON".
  --Threshold_LowGeneNum THRESHOLD_LOWGENENUM
                        The minimum number of genes expressed that is required
                        for a cell to pass filtering, which is enabled only if
                        '-- Switch_LowGeneCellsFilter' is "ON". DEFAULT: 200.
  --Switch_Normalize {ON,OFF}
                        The switch to enable total read count normalization
                        for each cell. DEFAULT: "ON".
  --Threshold_NormalizeBase THRESHOLD_NORMALIZEBASE
                        The base of normalization, which is enabled only if '
                        --Switch_Normalize' is "ON". If the DEFAULT is chosen,
                        it is CPM normalization. DEFAULT: 1e6.
  --Switch_LogTransform {ON,OFF}
                        The switch to logarithmize the expression matrix.
                        DEFAULT: "NO".
  --KNNParam_metric KNNPARAM_METRIC
                        The distance metric to use for kNN. It can be set to
                        "euclidean" or "correlation". DEFAULT: "euclidean".
  --WithinTimePointParam_PCAn WITHINTIMEPOINTPARAM_PCAN
                        The number of principal components to use within a
                        timepoint. It can be set from 1 to the minimum
                        dimension size of the expression matrixes. DEFAULT:
                        10.
  --WithinTimePointParam_k WITHINTIMEPOINTPARAM_K
                        The number of nearest neighbors to be searched within
                        a timepoint. It should be in the range of 2 to 100 in
                        general. DEFAULT: 15.
  --BetweenTimePointParam_PCAn BETWEENTIMEPOINTPARAM_PCAN
                        The number of principal components to use between
                        timepoints. It can be set from 1 to the minimum
                        dimension size of the expression matrixes. DEFAULT:
                        10.
  --BetweenTimePointParam_k BETWEENTIMEPOINTPARAM_K
                        The number of nearest neighbors to be searched between
                        timepoints. It should be in the range of 2 to 100 in
                        general. DEFAULT: 15.
  --ProbParam_SamplingSize PROBPARAM_SAMPLINGSIZE
                        The number of repeated sampling trials used to
                        estimate the connection probability. DEFAULT: 5.
  --ProbParam_RandomSeed PROBPARAM_RANDOMSEED
                        The size of the resulting figure. For example: '--
                        FigureParam_FigureSize 6 7' means width is 6 and
                        height is 7. DEFAULT: 6 7 .)
  --FigureParam_FigureSize FIGUREPARAM_FIGURESIZE FIGUREPARAM_FIGURESIZE
                        Figure size of the result figure. For example: '--
                        FigureParam_FigureSize 6 7' indicates width is 6 and
                        height is 7. DEFAULT: 6 7
  --FigureParam_LabelBoxWidth FIGUREPARAM_LABELBOXWIDTH
                        The width of the label box in the result figure. For
                        example, '--FigureParam_LabelBoxWidth 10' means that
                        10 characters will be shown in the label box of the
                        resulting figure. DEFAULT: 10.
  --Threshold_MinProbability THRESHOLD_MINPROBABILITY
                        The minimum probability of edge for each cell state
                        that is displayed, which will only be used for
                        visualization. It can be a number between 0 and 1 or
                        "OTSU". When OTSU is selected, it will be
                        automatically estimated using OTSU's Method (OTSU,
                        1979). DEFAULT: "OTSU".
  --Threshold_MaxOutDegree THRESHOLD_MAXOUTDEGREE
                        The maximum number of outdegrees for each cell state
                        that is displayed, which will only be used for
                        visualization. DEFAULT: 10.
  --Threshold_MinCellNumofStates THRESHOLD_MINCELLNUMOFSTATES
                        The minimum cell number of each cell state that is
                        displayed, which will only be used for visualization.
                        DEFAULT: 0.
```



## Run CStreet in Python interface

CStreet can also be used step by step in the Python interface and easily integrated into custom scripts. [Here](https://nbviewer.jupyter.org/github/yw-Hua/CStreet/blob/master/tutorial.ipynb) is a tutorial written using Jupyter Notebook.
            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/yw-Hua/CStreet",
    "name": "cstreet",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6, <3.9",
    "maintainer_email": "",
    "keywords": "",
    "author": "Yuwei Hua",
    "author_email": "ywhua@tongji.edu.com",
    "download_url": "https://files.pythonhosted.org/packages/b8/86/01a0e47ac04fc471596a58a88b3fbf355d8e1c5f6eed3a6317d41957e551/cstreet-1.0.3.tar.gz",
    "platform": "",
    "description": "# CStreet: a computed <ins>C</ins>ell <ins>S</ins>tate <ins>tr</ins>ajectory inf<ins>e</ins>r<ins>e</ins>nce method for <ins>t</ins>ime-series single-cell RNA-seq data\n\n![label1](https://img.shields.io/badge/version-v1.0.2--beta-yellow)\t![label2](https://img.shields.io/badge/license-MIT-green)\n\n<!-- **| [Overview](#overview) | [Installation](#installation) | [Quick Start](#quick-start) | [Parameter Details](#parameter-details) | [Run CStreet in python interface](#run-cstreet-in-python-interface) | [Citation](#citation) |**-->\n**| [Overview](#overview) | [Installation](#installation) | [Quick Start](#quick-start) | [Parameter Details](#parameter-details) | [Run CStreet in Python interface](#run-cstreet-in-python-interface)  |**\n\n\n![Figure1](https://github.com/yw-Hua/MarkdownPicture/raw/master/CStreet/Fig1.png)\n\n## Overview\n\nCStreet is a cell state trajectory inference method for time-series single-cell RNA-seq data. It is written in Python (3.6, 3.7 or 3.8) and is available as a command line tool and a Python library to meet the needs of different users.\n\nCStreet uses time-series information to construct the k-nearest neighbors connections within and between time points. Then, CStreet calculates the connection probabilities of cell states and visualizes the trajectory, which may include multiple starting points and paths, using a force-directed layout method.\n\n## Installation\n\nCStreet has been packaged and uploaded to [PyPI](https://pypi.org/project/cstreet/). Before your installation, ensure that you have pip available. pip3 is the package installer for Python. If you do not have pip3 on your machine, click [here](https://pip.pypa.io/en/stable/) to install it. Then, CStreet and its relevant packages can be installed using a single command.\n\n   ```shell\n   $ pip3 install cstreet \n   ```\n\nYou may experience errors when installing or updating packages. This is because pip3 will change the way that it resolves dependency conflicts. We recommend you use the command below.\n\n   ```shell\n   $ pip3 install cstreet --use-feature=2020-resolver\n   ```\n\nYou may need to use the command below to add the default installation path of pip3 to your system path,\n\n ```shell\n  $ export PATH=~/.local/bin:$PATH\n ```\n\nThen, type the command below to check whether CStreet has been installed successfully.\uff08For the first time running, it may takes about one minute for CStreet\u2019s initial configuration.\uff09\n\n   ```shell\n   $ CStreet -h\n   ```\n\n## Quick Start\n\n### Step 1. CStreet installation following the above tutorial.\n\n### Step 2. Input preparation\n\nCStreet utilizes time-series expression levels in tab-delimited format or AnnData format as input. \n\nThe cell state information can be generated using the built-in clustering function of CStreet or input by the user. \n\nWe provided a small [test dataset](https://github.com/yw-Hua/CStreet/tree/master/test/test_data) containing normalized expression levels and the state information at three time points. \n\nOr type the command below to download.\n\n   ```shell\n   $ wget https://github.com/yw-Hua/CStreet/raw/master/test/test_data.zip\n   $ unzip test_data.zip\n   ```\n\n### Step 3. Operation of CStreet\n\nType the command below to run CStreet.\n\n   ```shell\n   $ CStreet -i test_data/ExpressionMatrix_t1.txt test_data/ExpressionMatrix_t2.txt test_data/ExpressionMatrix_t3.txt -s test_data/CellStates_t1.txt test_data/CellStates_t2.txt test_data/CellStates_t3.txt -n test\n   ```\n\n### Step 4. Output\n\nThe contents of the output directory in tree format will be displayed as described below, including the clustered cell state information if it is not provided by users, the connection probabilities of the cell states and a visualization of the inferred cell state trajectories.\n\n```shell\nPATH/ProjectName\n\u251c\u2500\u2500 ProjectName_CStreetTopology.pdf\n\u251c\u2500\u2500 ProjectName_CellStatesConnCytoscape.txt\n\u251c\u2500\u2500 SupplementaryFigures\n\u2502   \u251c\u2500\u2500 ProjectName_t1_ForceDirectedLayout.pdf\n\u2502   \u251c\u2500\u2500 ProjectName_t1_LouvainUMAPClustering.pdf\n\u2502   \u251c\u2500\u2500 ProjectName_t1_LouvainUMAPClusteringCoordinates.txt\n\u2502   \u251c\u2500\u2500 ProjectName_t2_ForceDirectedLayout.pdf\n\u2502   \u251c\u2500\u2500 ProjectName_t2_LouvainUMAPClustering.pdf\n\u2502   \u251c\u2500\u2500 ProjectName_t2_LouvainUMAPClusteringCoordinates.txt\n\u2502   \u2514\u2500\u2500 ...\n\u2514\u2500\u2500 SupplementaryResults\n    \u251c\u2500\u2500 ProjectName_BetweenTimePoints_CellStatesConnectionProbabilities.txt\n    \u251c\u2500\u2500 ProjectName_t1_FilteredCellInfo.txt\n    \u251c\u2500\u2500 ProjectName_t1_FilteredGeneInfo.txt\n    \u251c\u2500\u2500 ProjectName_t1_CellStatesConnectionProbabilities.txt\n    \u251c\u2500\u2500 ProjectName_t2_FilteredCellInfo.txt\n    \u251c\u2500\u2500 ProjectName_t2_FilteredGeneInfo.txt\n    \u251c\u2500\u2500 ProjectName_t2_CellStatesConnectionProbabilities.txt\n    \u2514\u2500\u2500 ...\n```\n\n\n   ![tiny_data_result.pdf](https://github.com/yw-Hua/MarkdownPicture/raw/master/CStreet/example_project_CStreetTopology.jpg)\n\n## Parameter Details\n\nThe parameter details of CStreet are as follows:\n\n```\nusage: CStreet [-h] <-i ExpMatrix1 ExpMatrix2 ExpMatrix3 ...> [-s CellStates1 CellStates2 CellStates3 ...] [-n ProjectName] [-o OutputDir] [options]\n\nCStreet is a cell states trajectory inference method for time-series single-cell RNA-seq data.\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -v, --version         show version number of CStreet and exit\n  -i INPUT_EXPMATRIX [INPUT_EXPMATRIX ...], --Input_ExpMatrix INPUT_EXPMATRIX [INPUT_EXPMATRIX ...]\n                        This indicates expression matrixes, which contain the\n                        time-series expression level as read counts or\n                        normalized values in tab-delimited format. For\n                        example: '-i ExpressionMatrix_t1.txt\n                        ExpressionMatrix_t2.txt ExpressionMatrix_t3.txt'\n                        indicates the input of 3 timepoint expression\n                        matrixes.\n  -T, --Input_CellinCol\n                        This determines whether the expression level of one\n                        cell is displayed as a column in the expression\n                        matrixes. For example, '-T' indicates that the gene\n                        expression levels of one cell are displayed in a\n                        column and the expression levels of one gene across\n                        all cells are displayed in a row.\n  -o OUTPUT_DIR, --Output_Dir OUTPUT_DIR\n                        The project directory, which is used to save all\n                        output files. DEFAULT: \"./\".\n  -n OUTPUT_NAME, --Output_Name OUTPUT_NAME\n                        The project name, which is used to generate output\n                        file names as a prefix. DEFAULT: \"CStreet\"\n  -s [INPUT_CELLSTATES [INPUT_CELLSTATES ...]], --Input_CellStates [INPUT_CELLSTATES [INPUT_CELLSTATES ...]]\n                        An optional parameter that uses CStreet's built-in\n                        dimensionality reduction and clustering methods to\n                        perform clustering without knowing the cell states\n                        (DEFAULT) or accepts the user\u2019s input. The input files\n                        should contain the cell state information sharing the\n                        same cell ID in the expression matrixes in tab-\n                        delimited format.\n  --CellClusterParam_PCAn CELLCLUSTERPARAM_PCAN\n                        The number of principal components to use, which is\n                        enabled only if the cell state information is not\n                        provided. It can be set from 1 to the minimum\n                        dimension size of the expression matrixes. DEFAULT:\n                        10.\n  --CellClusterParam_k CELLCLUSTERPARAM_K\n                        The number of nearest neighbors to be searched, which\n                        is enabled only if the cell state information is not\n                        provided. It should be in the range of 2 to 100 in\n                        general. DEFAULT: 15.\n  --CellClusterParam_Resolution CELLCLUSTERPARAM_RESOLUTION\n                        The resolution of the Louvain algorithm, which is\n                        enabled only if the cell state information is not\n                        provided. A higher resolution means that more and\n                        smaller clusters are found. DEFAULT: 0.1.\n  --Switch_DeadCellFilter {ON,OFF}\n                        The switch for the dead cell filter, which filters\n                        cell outliers based on the count percent of\n                        mitochondrial genes. DEFAULT: \"ON\".\n  --Threshold_MitoPercent THRESHOLD_MITOPERCENT\n                        The maximum count percent of mitochondrial genes\n                        needed for a cell to pass filtering, which is enabled\n                        only if '--Switch_DeadCellFilter' is \"ON\". DEFAULT:\n                        0.2.\n  --Switch_LowCellNumGeneFilter {ON,OFF}\n                        The switch for the low cell number gene filter, which\n                        retains genes that are expressed in at least a certain\n                        number of cells. DEFAULT: \"ON\".\n  --Threshold_LowCellNum THRESHOLD_LOWCELLNUM\n                        The minimum number of cells expressed that is required\n                        for a gene to pass filtering, which is enabled only if\n                        '-- Switch_LowCellNumGeneFilter' is \"ON\". DEFAULT: 3.\n  --Switch_LowGeneCellsFilter {ON,OFF}\n                        The switch for the low gene number cell filter, which\n                        retains cells with at least a certain number of genes\n                        expressed. DEFAULT: \"ON\".\n  --Threshold_LowGeneNum THRESHOLD_LOWGENENUM\n                        The minimum number of genes expressed that is required\n                        for a cell to pass filtering, which is enabled only if\n                        '-- Switch_LowGeneCellsFilter' is \"ON\". DEFAULT: 200.\n  --Switch_Normalize {ON,OFF}\n                        The switch to enable total read count normalization\n                        for each cell. DEFAULT: \"ON\".\n  --Threshold_NormalizeBase THRESHOLD_NORMALIZEBASE\n                        The base of normalization, which is enabled only if '\n                        --Switch_Normalize' is \"ON\". If the DEFAULT is chosen,\n                        it is CPM normalization. DEFAULT: 1e6.\n  --Switch_LogTransform {ON,OFF}\n                        The switch to logarithmize the expression matrix.\n                        DEFAULT: \"NO\".\n  --KNNParam_metric KNNPARAM_METRIC\n                        The distance metric to use for kNN. It can be set to\n                        \"euclidean\" or \"correlation\". DEFAULT: \"euclidean\".\n  --WithinTimePointParam_PCAn WITHINTIMEPOINTPARAM_PCAN\n                        The number of principal components to use within a\n                        timepoint. It can be set from 1 to the minimum\n                        dimension size of the expression matrixes. DEFAULT:\n                        10.\n  --WithinTimePointParam_k WITHINTIMEPOINTPARAM_K\n                        The number of nearest neighbors to be searched within\n                        a timepoint. It should be in the range of 2 to 100 in\n                        general. DEFAULT: 15.\n  --BetweenTimePointParam_PCAn BETWEENTIMEPOINTPARAM_PCAN\n                        The number of principal components to use between\n                        timepoints. It can be set from 1 to the minimum\n                        dimension size of the expression matrixes. DEFAULT:\n                        10.\n  --BetweenTimePointParam_k BETWEENTIMEPOINTPARAM_K\n                        The number of nearest neighbors to be searched between\n                        timepoints. It should be in the range of 2 to 100 in\n                        general. DEFAULT: 15.\n  --ProbParam_SamplingSize PROBPARAM_SAMPLINGSIZE\n                        The number of repeated sampling trials used to\n                        estimate the connection probability. DEFAULT: 5.\n  --ProbParam_RandomSeed PROBPARAM_RANDOMSEED\n                        The size of the resulting figure. For example: '--\n                        FigureParam_FigureSize 6 7' means width is 6 and\n                        height is 7. DEFAULT: 6 7 .)\n  --FigureParam_FigureSize FIGUREPARAM_FIGURESIZE FIGUREPARAM_FIGURESIZE\n                        Figure size of the result figure. For example: '--\n                        FigureParam_FigureSize 6 7' indicates width is 6 and\n                        height is 7. DEFAULT: 6 7\n  --FigureParam_LabelBoxWidth FIGUREPARAM_LABELBOXWIDTH\n                        The width of the label box in the result figure. For\n                        example, '--FigureParam_LabelBoxWidth 10' means that\n                        10 characters will be shown in the label box of the\n                        resulting figure. DEFAULT: 10.\n  --Threshold_MinProbability THRESHOLD_MINPROBABILITY\n                        The minimum probability of edge for each cell state\n                        that is displayed, which will only be used for\n                        visualization. It can be a number between 0 and 1 or\n                        \"OTSU\". When OTSU is selected, it will be\n                        automatically estimated using OTSU's Method (OTSU,\n                        1979). DEFAULT: \"OTSU\".\n  --Threshold_MaxOutDegree THRESHOLD_MAXOUTDEGREE\n                        The maximum number of outdegrees for each cell state\n                        that is displayed, which will only be used for\n                        visualization. DEFAULT: 10.\n  --Threshold_MinCellNumofStates THRESHOLD_MINCELLNUMOFSTATES\n                        The minimum cell number of each cell state that is\n                        displayed, which will only be used for visualization.\n                        DEFAULT: 0.\n```\n\n\n\n## Run CStreet in Python interface\n\nCStreet can also be used step by step in the Python interface and easily integrated into custom scripts. [Here](https://nbviewer.jupyter.org/github/yw-Hua/CStreet/blob/master/tutorial.ipynb) is a tutorial written using Jupyter Notebook.",
    "bugtrack_url": null,
    "license": "",
    "summary": "CStreet is a python script (python 3.6, 3.7 or 3.8) for cell state trajectory construction by using k-nearest neighbors graph algorithm for time-series single-cell RNA-seq data.",
    "version": "1.0.3",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "5161c6688ac5b62ed6d98245a476e223",
                "sha256": "1784d38f9bfbc93d6dd11e9832c27b064cc8c35443c464daaf1ff5c48fe15d1b"
            },
            "downloads": -1,
            "filename": "cstreet-1.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "5161c6688ac5b62ed6d98245a476e223",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6, <3.9",
            "size": 24392,
            "upload_time": "2021-04-08T11:35:03",
            "upload_time_iso_8601": "2021-04-08T11:35:03.654514Z",
            "url": "https://files.pythonhosted.org/packages/b8/86/01a0e47ac04fc471596a58a88b3fbf355d8e1c5f6eed3a6317d41957e551/cstreet-1.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2021-04-08 11:35:03",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": null,
    "github_project": "yw-Hua",
    "error": "Could not fetch GitHub repository",
    "lcname": "cstreet"
}
        
Elapsed time: 0.38220s