Skip to content

Commit

Permalink
fix lint remove.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
nilchia committed Aug 24, 2024
1 parent 60d485d commit 1db6c46
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions tools/scanpy/remove_confounders.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ sc.pp.combat(
adata,
key='$method.key',
inplace=True)
<<<<<<< HEAD
#else if str($method.method) == 'external.pp.bbknn':
sc.external.pp.bbknn(
Expand Down Expand Up @@ -137,8 +136,6 @@ sc.external.pp.scanorama_integrate(
approx=$method.approx,
alpha=$method.alpha,
batch_size=$method.batch_size)
=======
>>>>>>> a567b2ac1 (add rank_genes_groups_tracksplot and update some other params)
#end if
@CMD_anndata_write_outputs@
Expand All @@ -151,12 +148,9 @@ sc.external.pp.scanorama_integrate(
<option value="pp.regress_out">Regress out unwanted sources of variation, using 'pp.regress_out'</option>
<!-- <option value="external.pp.mnn_correct">Correct batch effects by matching mutual nearest neighbors, using 'pp.mnn_correct'</option> -->
<option value="pp.combat">Correct batch effects with ComBat function, using 'pp.combat'</option>
<<<<<<< HEAD
<option value="external.pp.bbknn">Batch effect removal with Batch balanced KNN (BBKNN), using 'external.pp.bbknn'</option>
<option value="external.pp.harmony_integrate">Integrate multiple single-cell experiments with Harmony, using 'external.pp.harmony_integrate'</option>
<option value="external.pp.scanorama_integrate">Integrate multiple single-cell experiments with Scanorama, using 'external.pp.scanorama_integrate'</option>
=======
>>>>>>> a567b2ac1 (add rank_genes_groups_tracksplot and update some other params)
</param>
<when value="pp.regress_out">
<param argument="layer" type="text" value="" label="Which element of layers to regress on">
Expand Down Expand Up @@ -204,7 +198,6 @@ sc.external.pp.scanorama_integrate(
<expand macro="sanitize_query"/>
</param>
</when>
<<<<<<< HEAD
<when value="external.pp.bbknn">
<param argument="batch_key" type="text" value="batch" label="Batch key for the concatenate">
<expand macro="sanitize_query"/>
Expand Down Expand Up @@ -273,8 +266,6 @@ sc.external.pp.scanorama_integrate(
<param argument="alpha" type="float" value="0.1" label="Alignment score minimum cutoff"/>
<param argument="batch_size" type="integer" value="5000" label="The batch size used in the alignment vector computation" help="Useful when integrating very large (>100k samples) datasets. Set to large value that runs within available memory."/>
</when>
=======
>>>>>>> a567b2ac1 (add rank_genes_groups_tracksplot and update some other params)
</conditional>
<expand macro="inputs_common_advanced"/>
</inputs>
Expand Down Expand Up @@ -486,8 +477,9 @@ inspired by Seurat's `regressOut` function in R.
More details on the `scanpy documentation
<https://scanpy.readthedocs.io/en/stable/api/scanpy.pp.regress_out.html>`__
Correct batch effects by matching mutual nearest neighbors, using `external.pp.mnn_correct`
==================================================================================
===========================================================================================
This uses the implementation of mnnpy. Depending on do_concatenate, it returns AnnData objects in the
original order containing corrected expression values or a concatenated matrix or AnnData object.
Expand Down

0 comments on commit 1db6c46

Please sign in to comment.