Description
Annotate highly variable features [Satija15] [Zheng17] [Stuart19].
Expects logarithmized data, except when flavor='seurat_v3' in which count data is expected.
Depending on flavor, this reproduces the R-implementations of Seurat [Satija15], Cell Ranger [Zheng17], and Seurat v3 [Stuart19].
For the dispersion-based methods ([Satija15] and [Zheng17]), the normalized dispersion is obtained by scaling with the mean and standard deviation of the dispersions for features falling into a given bin for mean expression of features. This means that for each bin of mean expression, highly variable features are selected.
For [Stuart19], a normalized variance for each feature is computed. First, the data are standardized (i.e., z-score normalization per feature) with a regularized standard deviation. Next, the normalized variance is computed as the variance of each feature after the transformation. Features are ranked by the normalized variance.
Run the following command to execute this component with Nextflow:
cat > params.yaml <<'EOM'
modality: [ "rna" ]
output: "$id.$key.output.h5mu"
var_name_filter: [ "filter_with_hvg" ]
varm_name: [ "hvg" ]
flavor: [ "seurat" ]
min_mean: [ 0.0125 ]
max_mean: [ 3 ]
min_disp: [ 0.5 ]
span: [ 0.3 ]
n_bins: [ 20 ]
id: "run"
publish_dir: "output/"
EOM
nextflow run https://packages.viash-hub.com/vsh/openpipeline.git \
-revision v4.2.0 \
-main-script target/nextflow/feature_annotation/highly_variable_features_scanpy/main.nf \
-params-file params.yaml Name | Type & Properties |
|---|---|
--input | file required |
--modality | string |
--layer | string |
--var_input | string |
--features_to_exclude | string multiple |
--output | file output |
--var_name_filter | string |
--varm_name | string |
--flavor | string |
--n_top_features | integer |
--min_mean | double |
--max_mean | double |
--min_disp | double |
--max_disp | double |
--span | double |
--n_bins | integer |
--obs_batch_key | string |
--output_compression | string |