Skip to content

Commit

Permalink
Merge pull request #314 from scverse/ori-scarches_toturial_encode_cov…
Browse files Browse the repository at this point in the history
…ariates

Changes scarches tutorial
  • Loading branch information
ori-kron-wis authored Sep 2, 2024
2 parents c05afdb + 1eaecac commit 43eb27f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion scrna/scarches_scvi_tools.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -297,9 +297,15 @@
"id": "2C37BM-pCM_o"
},
"source": [
"We train the reference using the standard SCVI workflow, except we add a few non-default parameters that were identified to work well with scArches."
"We train the reference using the standard SCVI workflow, except we add a few non-default parameters that were identified to work well with scArches. \n",
"It is essential to encode covariates here as this allows scArches to map new batches in the encoder to the existing data and thereby provides batch integration. "
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": []
},
{
"cell_type": "code",
"execution_count": 11,
Expand Down

0 comments on commit 43eb27f

Please sign in to comment.