Skip to content

Commit

Permalink
val/test split: fix docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
cblaauw committed Nov 19, 2024
1 parent b11048a commit 5becd4b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/crested/pp/_split.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,8 @@ def train_val_test_split(
AnnData object to which the 'train/val/test' split column will be added.
strategy
strategy of split. Either 'region', 'chr' or 'chr_auto'. If 'chr' or 'chr_auto', the anndata's var_names should
contain the chromosome name at the start, followed by a `:` (e.g. I:2000-2500 or chr3:10-20:+).
contain the chromosome name at the start, followed by a `:` (e.g. I:2000-2500 or chr3:10-20:+).
region: Split randomly on region indices.
chr: Split based on provided chromosomes.
Expand Down

0 comments on commit 5becd4b

Please sign in to comment.