This repository was archived by the owner on Oct 21, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -3301,6 +3301,7 @@ def rank_test(
33013301 grouping ,
33023302 gene_names = None ,
33033303 sample_description = None ,
3304+ is_logged = False ,
33043305 dtype = "float32"
33053306):
33063307 """
@@ -3315,6 +3316,9 @@ def rank_test(
33153316 - array of length `num_observations` containing group labels
33163317 :param gene_names: optional list/array of gene names which will be used if `data` does not implicitly store these
33173318 :param sample_description: optional pandas.DataFrame containing sample annotations
3319+ :param is_logged:
3320+ Whether data is already logged. If True, log-fold changes are computed as fold changes on this data.
3321+ If False, log-fold changes are computed as log-fold changes on this data.
33183322 """
33193323 gene_names = _parse_gene_names (data , gene_names )
33203324 X = _parse_data (data , gene_names )
@@ -3326,6 +3330,7 @@ def rank_test(
33263330 data = X .astype (dtype ),
33273331 grouping = grouping ,
33283332 gene_names = gene_names ,
3333+ is_logged = is_logged
33293334 )
33303335
33313336 return de_test
You can’t perform that action at this time.
0 commit comments