exprmat 0.1.17__tar.gz → 0.1.18__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {exprmat-0.1.17 → exprmat-0.1.18}/PKG-INFO +1 -1
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/__init__.py +1 -1
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/descriptive/gse.py +12 -5
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/reader/experiment.py +2 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat.egg-info/PKG-INFO +1 -1
- {exprmat-0.1.17 → exprmat-0.1.18}/setup.py +1 -1
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/ansi.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/clustering/__init__.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/clustering/leiden.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/clustering/rogue.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/clustering/spectral.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/clustering/utils.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/cnv/__init__.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/cnv/cnvscore.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/cnv/infercnv.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/configuration.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/__init__.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/delim.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/finders.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/geneset.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/gff.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/entrez.tsv.gz +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/genesets/all.gmt +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/genesets/bp.gmt +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/genesets/cancer-modules.gmt +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/genesets/cancer-neighborhoods.gmt +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/genesets/cancer.gmt +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/genesets/cc.gmt +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/genesets/chemical-perturb.gmt +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/genesets/hallmark.gmt +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/genesets/human-phenotype-ontology.gmt +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/genesets/immune-perturb.gmt +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/genesets/kegg.gmt +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/genesets/mf.gmt +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/genesets/microrna.gmt +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/genesets/oncogenic.gmt +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/genesets/pathways.gmt +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/genesets/positional.gmt +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/genesets/single-cell.gmt +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/genesets/transcript-factors.gmt +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/genesets/vaccine.gmt +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/genome.tsv.gz +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/lr/baccin2019 +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/lr/cellcall +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/lr/cellchatdb +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/lr/cellinker +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/lr/cellphonedb +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/lr/celltalkdb +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/lr/connectomedb2020 +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/lr/consensus +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/lr/embrace +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/lr/guide2pharma +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/lr/hpmr +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/lr/icellnet +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/lr/italk +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/lr/kirouac2010 +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/lr/lrdb +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/lr/ramilowski2015 +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/mapping-ensembl.pkl +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/mapping-name.pkl +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/orthologs/aca.tsv.gz +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/orthologs/bta.tsv.gz +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/orthologs/cel.tsv.gz +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/orthologs/clu.tsv.gz +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/orthologs/dme.tsv.gz +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/orthologs/dre.tsv.gz +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/orthologs/eca.tsv.gz +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/orthologs/fca.tsv.gz +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/orthologs/gga.tsv.gz +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/orthologs/mdo.tsv.gz +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/orthologs/mmu.tsv.gz +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/orthologs/mmul.gz +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/orthologs/oan.tsv.gz +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/orthologs/ptr.tsv.gz +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/orthologs/rno.tsv.gz +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/orthologs/sce.tsv.gz +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/orthologs/spo.tsv.gz +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/orthologs/ssc.tsv.gz +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/orthologs/xla.tsv.gz +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/hsa/taxa +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/lr.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/mmu/entrez.tsv.gz +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/mmu/genesets/all.gmt +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/mmu/genesets/azimuth.gmt +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/mmu/genesets/biocarta.gmt +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/mmu/genesets/bp.gmt +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/mmu/genesets/cc.gmt +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/mmu/genesets/chemical-perturb.gmt +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/mmu/genesets/hallmark.gmt +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/mmu/genesets/kegg.gmt +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/mmu/genesets/m2.gmt +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/mmu/genesets/markers.gmt +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/mmu/genesets/mf.gmt +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/mmu/genesets/microrna.gmt +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/mmu/genesets/mpt.gmt +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/mmu/genesets/positional.gmt +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/mmu/genesets/reactome.gmt +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/mmu/genesets/transcript-factors.gmt +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/mmu/genesets/wikipathway.gmt +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/mmu/genome.tsv.gz +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/mmu/lr/consensus +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/mmu/mapping-ensembl.pkl +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/mmu/mapping-name.pkl +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/mmu/taxa +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/presets.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/private.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/data/ranges.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/descriptive/__init__.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/descriptive/aggregate.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/descriptive/de.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/descriptive/kde.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/descriptive/summary.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/descriptive/tcr.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/dynamics/__init__.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/dynamics/generank.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/dynamics/linreg.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/dynamics/moments.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/dynamics/optimization.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/dynamics/parallel.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/dynamics/preprocess.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/dynamics/pseudotime.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/dynamics/transition.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/dynamics/utils.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/dynamics/velocity.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/lr/__init__.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/lr/aggregate.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/lr/method.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/lr/methods/__init__.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/lr/methods/cellchat.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/lr/methods/cellphonedb.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/lr/methods/connectome.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/lr/methods/geomean.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/lr/methods/logfc.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/lr/methods/natmi.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/lr/methods/rank_aggregate.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/lr/methods/scseqcomm.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/lr/methods/singlecellsignalr.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/lr/pipeline.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/lr/preprocess.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/lr/resources.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/lr/utils.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/plotting/__init__.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/plotting/cnv.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/plotting/de.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/plotting/expression.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/plotting/gse.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/plotting/lr.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/plotting/palettes.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/plotting/sankey.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/plotting/summary.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/plotting/utils.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/plotting/velocity.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/preprocessing/__init__.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/preprocessing/doublets/__init__.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/preprocessing/doublets/composite.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/preprocessing/doublets/scrublet.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/preprocessing/filter.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/preprocessing/integrate.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/preprocessing/linear.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/preprocessing/normal.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/preprocessing/plot.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/preprocessing/qc.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/preprocessing/sctransform/__init__.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/preprocessing/sctransform/estimate.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/preprocessing/sctransform/ksmooth.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/preprocessing/sctransform/residual.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/preprocessing/sctransform/transform.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/preprocessing/sparse.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/preprocessing/uniform.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/reader/__init__.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/reader/matcher.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/reader/metadata.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/reduction/__init__.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/reduction/forceatlas.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/reduction/mde.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/reduction/nn.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/reduction/outliers.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/reduction/pca.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/reduction/plot.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/reduction/tsne.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/reduction/umap.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/transfer/__init__.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/transfer/atlas.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat/utils.py +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat.egg-info/SOURCES.txt +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat.egg-info/dependency_links.txt +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat.egg-info/not-zip-safe +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat.egg-info/requires.txt +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/exprmat.egg-info/top_level.txt +0 -0
- {exprmat-0.1.17 → exprmat-0.1.18}/setup.cfg +0 -0
|
@@ -107,10 +107,11 @@ def opa(
|
|
|
107
107
|
de_slot, group_name = None, translate_de_slot = None,
|
|
108
108
|
min_pct = 0.0, max_pct_reference = 1,
|
|
109
109
|
min_lfc = None, max_lfc = None, remove_zero_pval = False,
|
|
110
|
+
use_abs_lfc = False, min_abs_lfc = 1.0, max_abs_lfc = 25.0,
|
|
110
111
|
|
|
111
112
|
key_added = 'opa',
|
|
112
113
|
gene_sets = 'kegg',
|
|
113
|
-
identifier = '
|
|
114
|
+
identifier = 'entrez',
|
|
114
115
|
opa_cutoff = 0.05,
|
|
115
116
|
):
|
|
116
117
|
|
|
@@ -133,10 +134,16 @@ def opa(
|
|
|
133
134
|
tab = tab[tab['pct'] >= min_pct]
|
|
134
135
|
if max_pct_reference is not None and 'pct.reference' in tab.columns:
|
|
135
136
|
tab = tab[tab['pct.reference'] <= max_pct_reference]
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
137
|
+
|
|
138
|
+
if not use_abs_lfc:
|
|
139
|
+
if min_lfc is not None and 'lfc' in tab.columns:
|
|
140
|
+
tab = tab[tab['lfc'] >= min_lfc]
|
|
141
|
+
if max_lfc is not None and 'lfc' in tab.columns:
|
|
142
|
+
tab = tab[tab['lfc'] <= max_lfc]
|
|
143
|
+
else:
|
|
144
|
+
tab = tab[np.abs(tab['lfc'].to_numpy()) >= min_abs_lfc]
|
|
145
|
+
tab = tab[np.abs(tab['lfc'].to_numpy()) <= max_abs_lfc]
|
|
146
|
+
|
|
140
147
|
if remove_zero_pval:
|
|
141
148
|
tab = tab[~ np.isinf(tab['log10.q'].to_numpy())]
|
|
142
149
|
|
|
@@ -1157,6 +1157,7 @@ class experiment:
|
|
|
1157
1157
|
de_slot, group_name = None,
|
|
1158
1158
|
min_pct = 0.0, max_pct_reference = 1,
|
|
1159
1159
|
min_lfc = None, max_lfc = None, remove_zero_pval = False,
|
|
1160
|
+
use_abs_lfc = False, min_abs_lfc = 1.0, max_abs_lfc = 25.0,
|
|
1160
1161
|
|
|
1161
1162
|
key_added = 'gsea',
|
|
1162
1163
|
gene_sets = 'all',
|
|
@@ -1169,6 +1170,7 @@ class experiment:
|
|
|
1169
1170
|
adata, taxa = taxa, de_slot = de_slot, group_name = None,
|
|
1170
1171
|
min_pct = min_pct, max_pct_reference = max_pct_reference,
|
|
1171
1172
|
min_lfc = min_lfc, max_lfc = max_lfc, remove_zero_pval = remove_zero_pval,
|
|
1173
|
+
use_abs_lfc = use_abs_lfc, min_abs_lfc = min_abs_lfc, max_abs_lfc = max_abs_lfc,
|
|
1172
1174
|
key_added = key_added, gene_sets = gene_sets, identifier = identifier,
|
|
1173
1175
|
opa_cutoff = opa_cutoff, **kwargs
|
|
1174
1176
|
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|