Search.setIndex({"alltitles": {"API Reference": [[0, null]], "Attributes": [[1, "attributes"], [4, "attributes"]], "Classes": [[1, "classes"], [2, "classes"]], "Contents:": [[11, null]], "Functions": [[1, "functions"], [2, "functions"], [4, "functions"], [5, "functions"], [6, "functions"], [7, "functions"], [8, "functions"], [9, "functions"], [10, "functions"]], "Module Contents": [[1, "module-contents"], [2, "module-contents"], [4, "module-contents"], [5, "module-contents"], [6, "module-contents"], [7, "module-contents"], [8, "module-contents"], [9, "module-contents"], [10, "module-contents"]], "Submodules": [[3, "submodules"]], "scPanel documentation": [[11, null]], "scpanel": [[3, null]], "scpanel.GATclassifier": [[1, null]], "scpanel.SVMRFECV": [[2, null]], "scpanel.palettes": [[4, null]], "scpanel.select_cell": [[5, null]], "scpanel.select_gene": [[6, null]], "scpanel.settings": [[7, null]], "scpanel.split_patient": [[8, null]], "scpanel.train": [[9, null]], "scpanel.utils_func": [[10, null]]}, "docnames": ["autoapi/index", "autoapi/scpanel/GATclassifier/index", "autoapi/scpanel/SVMRFECV/index", "autoapi/scpanel/index", "autoapi/scpanel/palettes/index", "autoapi/scpanel/select_cell/index", "autoapi/scpanel/select_gene/index", "autoapi/scpanel/settings/index", "autoapi/scpanel/split_patient/index", "autoapi/scpanel/train/index", "autoapi/scpanel/utils_func/index", "index"], "envversion": {"nbsphinx": 4, "sphinx": 62, "sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2}, "filenames": ["autoapi/index.rst", "autoapi/scpanel/GATclassifier/index.rst", "autoapi/scpanel/SVMRFECV/index.rst", "autoapi/scpanel/index.rst", "autoapi/scpanel/palettes/index.rst", "autoapi/scpanel/select_cell/index.rst", "autoapi/scpanel/select_gene/index.rst", "autoapi/scpanel/settings/index.rst", "autoapi/scpanel/split_patient/index.rst", "autoapi/scpanel/train/index.rst", "autoapi/scpanel/utils_func/index.rst", "index.md"], "indexentries": {"__getitem__() (scpanel.gatclassifier.clusterdata method)": [[1, "scpanel.GATclassifier.ClusterData.__getitem__", false]], "__len__() (scpanel.gatclassifier.clusterdata method)": [[1, "scpanel.GATclassifier.ClusterData.__len__", false]], "__repr__() (scpanel.gatclassifier.clusterdata method)": [[1, "scpanel.GATclassifier.ClusterData.__repr__", false]], "_build_model() (scpanel.gatclassifier.gatclassifier method)": [[1, "scpanel.GATclassifier.GATclassifier._build_model", false]], "_estimator_type (scpanel.svmrfecv.rfe property)": [[2, "scpanel.SVMRFECV.RFE._estimator_type", false]], "_fit() (scpanel.svmrfecv.rfe method)": [[2, "scpanel.SVMRFECV.RFE._fit", false]], "_get_support_mask() (scpanel.svmrfecv.rfe method)": [[2, "scpanel.SVMRFECV.RFE._get_support_mask", false]], "_history (scpanel.gatclassifier.gatclassifier attribute)": [[1, "scpanel.GATclassifier.GATclassifier._history", false]], "_model (scpanel.gatclassifier.gatclassifier attribute)": [[1, "scpanel.GATclassifier.GATclassifier._model", false]], "_more_tags() (scpanel.svmrfecv.rfe method)": [[2, "scpanel.SVMRFECV.RFE._more_tags", false]], "_panel_grid() (in module scpanel.train)": [[9, "scpanel.train._panel_grid", false]], "_plot_color_cycle() (in module scpanel.palettes)": [[4, "scpanel.palettes._plot_color_cycle", false]], "_rfe_single_fit() (in module scpanel.svmrfecv)": [[2, "scpanel.SVMRFECV._rfe_single_fit", false]], "_train_model() (scpanel.gatclassifier.gatclassifier method)": [[1, "scpanel.GATclassifier.GATclassifier._train_model", false]], "alpha (scpanel.gatclassifier.gat attribute)": [[1, "scpanel.GATclassifier.GAT.alpha", false]], "auc_pvalue() (in module scpanel.train)": [[9, "scpanel.train.auc_pvalue", false]], "cal_bootstrap_score() (in module scpanel.select_cell)": [[5, "scpanel.select_cell.cal_bootstrap_score", false]], "cal_sample_auc() (in module scpanel.train)": [[9, "scpanel.train.cal_sample_auc", false]], "cell_type_score() (in module scpanel.select_cell)": [[5, "scpanel.select_cell.cell_type_score", false]], "check_nonnegative_float() (in module scpanel.utils_func)": [[10, "scpanel.utils_func.check_nonnegative_float", false]], "check_nonnegative_integers() (in module scpanel.utils_func)": [[10, "scpanel.utils_func.check_nonnegative_integers", false]], "classes_ (scpanel.svmrfecv.rfe attribute)": [[2, "scpanel.SVMRFECV.RFE.classes_", false]], "classes_ (scpanel.svmrfecv.rfecv attribute)": [[2, "scpanel.SVMRFECV.RFECV.classes_", false]], "clusterdata (class in scpanel.gatclassifier)": [[1, "scpanel.GATclassifier.ClusterData", false]], "clusterloader (class in scpanel.gatclassifier)": [[1, "scpanel.GATclassifier.ClusterLoader", false]], "compute_cell_weight() (in module scpanel.utils_func)": [[10, "scpanel.utils_func.compute_cell_weight", false]], "convert_pvalue_to_asterisks() (in module scpanel.train)": [[9, "scpanel.train.convert_pvalue_to_asterisks", false]], "custom_metrics() (in module scpanel.select_cell)": [[5, "scpanel.select_cell.custom_metrics", false]], "cv (scpanel.svmrfecv.rfecv attribute)": [[2, "scpanel.SVMRFECV.RFECV.cv", false]], "cv_results_ (scpanel.svmrfecv.rfecv attribute)": [[2, "scpanel.SVMRFECV.RFECV.cv_results_", false]], "decide_k() (in module scpanel.select_gene)": [[6, "scpanel.select_gene.decide_k", false]], "decision_function() (scpanel.svmrfecv.rfe method)": [[2, "scpanel.SVMRFECV.RFE.decision_function", false]], "default_102 (in module scpanel.palettes)": [[4, "scpanel.palettes.default_102", false]], "default_20 (in module scpanel.palettes)": [[4, "scpanel.palettes.default_20", false]], "default_28 (in module scpanel.palettes)": [[4, "scpanel.palettes.default_28", false]], "downsample_adata() (in module scpanel.utils_func)": [[10, "scpanel.utils_func.downsample_adata", false]], "dropout (scpanel.gatclassifier.gat attribute)": [[1, "scpanel.GATclassifier.GAT.dropout", false]], "estimator (scpanel.svmrfecv.rfe attribute)": [[2, "scpanel.SVMRFECV.RFE.estimator", false]], "estimator (scpanel.svmrfecv.rfecv attribute)": [[2, "scpanel.SVMRFECV.RFECV.estimator", false]], "estimator_ (scpanel.svmrfecv.rfe attribute)": [[2, "scpanel.SVMRFECV.RFE.estimator_", false]], "estimator_ (scpanel.svmrfecv.rfecv attribute)": [[2, "scpanel.SVMRFECV.RFECV.estimator_", false]], "feature_names_in_ (scpanel.svmrfecv.rfe attribute)": [[2, "scpanel.SVMRFECV.RFE.feature_names_in_", false]], "feature_names_in_ (scpanel.svmrfecv.rfecv attribute)": [[2, "scpanel.SVMRFECV.RFECV.feature_names_in_", false]], "fit() (scpanel.gatclassifier.gatclassifier method)": [[1, "scpanel.GATclassifier.GATclassifier.fit", false]], "fit() (scpanel.svmrfecv.rfe method)": [[2, "scpanel.SVMRFECV.RFE.fit", false]], "fit() (scpanel.svmrfecv.rfecv method)": [[2, "scpanel.SVMRFECV.RFECV.fit", false]], "forward() (scpanel.gatclassifier.gat method)": [[1, "scpanel.GATclassifier.GAT.forward", false]], "gat (class in scpanel.gatclassifier)": [[1, "scpanel.GATclassifier.GAT", false]], "gat1 (scpanel.gatclassifier.gat attribute)": [[1, "scpanel.GATclassifier.GAT.gat1", false]], "gat2 (scpanel.gatclassifier.gat attribute)": [[1, "scpanel.GATclassifier.GAT.gat2", false]], "gatclassifier (class in scpanel.gatclassifier)": [[1, "scpanel.GATclassifier.GATclassifier", false]], "gene_score() (in module scpanel.select_gene)": [[6, "scpanel.select_gene.gene_score", false]], "get_x_y_from_ann() (in module scpanel.utils_func)": [[10, "scpanel.utils_func.get_X_y_from_ann", false]], "godsnot_102 (in module scpanel.palettes)": [[4, "scpanel.palettes.godsnot_102", false]], "grid_scores_ (scpanel.svmrfecv.rfecv attribute)": [[2, "scpanel.SVMRFECV.RFECV.grid_scores_", false]], "grid_scores_ (scpanel.svmrfecv.rfecv property)": [[2, "id0", false]], "importance_getter (scpanel.svmrfecv.rfe attribute)": [[2, "scpanel.SVMRFECV.RFE.importance_getter", false]], "importance_getter (scpanel.svmrfecv.rfecv attribute)": [[2, "scpanel.SVMRFECV.RFECV.importance_getter", false]], "make_single_spider() (in module scpanel.train)": [[9, "scpanel.train.make_single_spider", false]], "min_features_to_select (scpanel.svmrfecv.rfecv attribute)": [[2, "scpanel.SVMRFECV.RFECV.min_features_to_select", false]], "models_predict() (in module scpanel.train)": [[9, "scpanel.train.models_predict", false]], "models_score() (in module scpanel.train)": [[9, "scpanel.train.models_score", false]], "models_train() (in module scpanel.train)": [[9, "scpanel.train.models_train", false]], "module": [[1, "module-scpanel.GATclassifier", false], [2, "module-scpanel.SVMRFECV", false], [3, "module-scpanel", false], [4, "module-scpanel.palettes", false], [5, "module-scpanel.select_cell", false], [6, "module-scpanel.select_gene", false], [7, "module-scpanel.settings", false], [8, "module-scpanel.split_patient", false], [9, "module-scpanel.train", false], [10, "module-scpanel.utils_func", false]], "n_features_ (scpanel.svmrfecv.rfe attribute)": [[2, "scpanel.SVMRFECV.RFE.n_features_", false]], "n_features_ (scpanel.svmrfecv.rfecv attribute)": [[2, "scpanel.SVMRFECV.RFECV.n_features_", false]], "n_features_in_ (scpanel.svmrfecv.rfe attribute)": [[2, "scpanel.SVMRFECV.RFE.n_features_in_", false]], "n_features_in_ (scpanel.svmrfecv.rfecv attribute)": [[2, "scpanel.SVMRFECV.RFECV.n_features_in_", false]], "n_features_to_select (scpanel.svmrfecv.rfe attribute)": [[2, "scpanel.SVMRFECV.RFE.n_features_to_select", false]], "n_jobs (scpanel.svmrfecv.rfecv attribute)": [[2, "scpanel.SVMRFECV.RFECV.n_jobs", false]], "n_nodes (scpanel.gatclassifier.gat attribute)": [[1, "scpanel.GATclassifier.GAT.n_nodes", false]], "nfeatures (scpanel.gatclassifier.gat attribute)": [[1, "scpanel.GATclassifier.GAT.nFeatures", false]], "nheads (scpanel.gatclassifier.gat attribute)": [[1, "scpanel.GATclassifier.GAT.nHeads", false]], "nhiddenunits (scpanel.gatclassifier.gat attribute)": [[1, "scpanel.GATclassifier.GAT.nHiddenUnits", false]], "num_parts (scpanel.gatclassifier.clusterdata attribute)": [[1, "scpanel.GATclassifier.ClusterData.num_parts", false]], "plot_cell_type_score() (in module scpanel.select_cell)": [[5, "scpanel.select_cell.plot_cell_type_score", false]], "plot_gene_score() (in module scpanel.select_gene)": [[6, "scpanel.select_gene.plot_gene_score", false]], "plot_roc_curve() (in module scpanel.train)": [[9, "scpanel.train.plot_roc_curve", false]], "plot_violin() (in module scpanel.train)": [[9, "scpanel.train.plot_violin", false]], "predict() (scpanel.gatclassifier.gatclassifier method)": [[1, "scpanel.GATclassifier.GATclassifier.predict", false]], "predict() (scpanel.svmrfecv.rfe method)": [[2, "scpanel.SVMRFECV.RFE.predict", false]], "predict_log_proba() (scpanel.svmrfecv.rfe method)": [[2, "scpanel.SVMRFECV.RFE.predict_log_proba", false]], "predict_proba() (scpanel.gatclassifier.gatclassifier method)": [[1, "scpanel.GATclassifier.GATclassifier.predict_proba", false]], "predict_proba() (scpanel.svmrfecv.rfe method)": [[2, "scpanel.SVMRFECV.RFE.predict_proba", false]], "preprocess() (in module scpanel.utils_func)": [[10, "scpanel.utils_func.preprocess", false]], "process() (scpanel.gatclassifier.clusterdata method)": [[1, "scpanel.GATclassifier.ClusterData.process", false]], "pt_pred() (in module scpanel.train)": [[9, "scpanel.train.pt_pred", false]], "pt_score() (in module scpanel.train)": [[9, "scpanel.train.pt_score", false]], "ranking_ (scpanel.svmrfecv.rfe attribute)": [[2, "scpanel.SVMRFECV.RFE.ranking_", false]], "ranking_ (scpanel.svmrfecv.rfecv attribute)": [[2, "scpanel.SVMRFECV.RFECV.ranking_", false]], "recursive (scpanel.gatclassifier.clusterdata attribute)": [[1, "scpanel.GATclassifier.ClusterData.recursive", false]], "rfe (class in scpanel.svmrfecv)": [[2, "scpanel.SVMRFECV.RFE", false]], "rfecv (class in scpanel.svmrfecv)": [[2, "scpanel.SVMRFECV.RFECV", false]], "save_dir (scpanel.gatclassifier.clusterdata attribute)": [[1, "scpanel.GATclassifier.ClusterData.save_dir", false]], "scipysparse2torchsparse() (in module scpanel.gatclassifier)": [[1, "scpanel.GATclassifier.scipysparse2torchsparse", false]], "score() (scpanel.gatclassifier.gatclassifier method)": [[1, "scpanel.GATclassifier.GATclassifier.score", false]], "score() (scpanel.svmrfecv.rfe method)": [[2, "scpanel.SVMRFECV.RFE.score", false]], "scoring (scpanel.svmrfecv.rfecv attribute)": [[2, "scpanel.SVMRFECV.RFECV.scoring", false]], "scpanel": [[3, "module-scpanel", false]], "scpanel.gatclassifier": [[1, "module-scpanel.GATclassifier", false]], "scpanel.palettes": [[4, "module-scpanel.palettes", false]], "scpanel.select_cell": [[5, "module-scpanel.select_cell", false]], "scpanel.select_gene": [[6, "module-scpanel.select_gene", false]], "scpanel.settings": [[7, "module-scpanel.settings", false]], "scpanel.split_patient": [[8, "module-scpanel.split_patient", false]], "scpanel.svmrfecv": [[2, "module-scpanel.SVMRFECV", false]], "scpanel.train": [[9, "module-scpanel.train", false]], "scpanel.utils_func": [[10, "module-scpanel.utils_func", false]], "seed (in module scpanel.gatclassifier)": [[1, "scpanel.GATclassifier.seed", false]], "select_celltype() (in module scpanel.select_cell)": [[5, "scpanel.select_cell.select_celltype", false]], "select_gene() (in module scpanel.select_gene)": [[6, "scpanel.select_gene.select_gene", false]], "select_gene_stable() (in module scpanel.select_gene)": [[6, "scpanel.select_gene.select_gene_stable", false]], "set_rcparams() (in module scpanel.settings)": [[7, "scpanel.settings.set_rcParams", false]], "split_n_folds() (in module scpanel.select_gene)": [[6, "scpanel.select_gene.split_n_folds", false]], "split_patients() (in module scpanel.select_cell)": [[5, "scpanel.select_cell.split_patients", false]], "split_train_test() (in module scpanel.split_patient)": [[8, "scpanel.split_patient.split_train_test", false]], "step (scpanel.svmrfecv.rfe attribute)": [[2, "scpanel.SVMRFECV.RFE.step", false]], "step (scpanel.svmrfecv.rfecv attribute)": [[2, "scpanel.SVMRFECV.RFECV.step", false]], "support_ (scpanel.svmrfecv.rfe attribute)": [[2, "scpanel.SVMRFECV.RFE.support_", false]], "support_ (scpanel.svmrfecv.rfecv attribute)": [[2, "scpanel.SVMRFECV.RFECV.support_", false]], "tab10 (in module scpanel.palettes)": [[4, "scpanel.palettes.tab10", false]], "transform_adata() (in module scpanel.train)": [[9, "scpanel.train.transform_adata", false]], "vega_10 (in module scpanel.palettes)": [[4, "scpanel.palettes.vega_10", false]], "vega_10_scanpy (in module scpanel.palettes)": [[4, "scpanel.palettes.vega_10_scanpy", false]], "vega_20 (in module scpanel.palettes)": [[4, "scpanel.palettes.vega_20", false]], "vega_20_scanpy (in module scpanel.palettes)": [[4, "scpanel.palettes.vega_20_scanpy", false]], "verbose (scpanel.svmrfecv.rfe attribute)": [[2, "scpanel.SVMRFECV.RFE.verbose", false]], "verbose (scpanel.svmrfecv.rfecv attribute)": [[2, "scpanel.SVMRFECV.RFECV.verbose", false]], "zeileis_28 (in module scpanel.palettes)": [[4, "scpanel.palettes.zeileis_28", false]]}, "objects": {"": [[3, 0, 0, "-", "scpanel"]], "scpanel": [[1, 0, 0, "-", "GATclassifier"], [2, 0, 0, "-", "SVMRFECV"], [4, 0, 0, "-", "palettes"], [5, 0, 0, "-", "select_cell"], [6, 0, 0, "-", "select_gene"], [7, 0, 0, "-", "settings"], [8, 0, 0, "-", "split_patient"], [9, 0, 0, "-", "train"], [10, 0, 0, "-", "utils_func"]], "scpanel.GATclassifier": [[1, 1, 1, "", "ClusterData"], [1, 1, 1, "", "ClusterLoader"], [1, 1, 1, "", "GAT"], [1, 1, 1, "", "GATclassifier"], [1, 4, 1, "", "scipysparse2torchsparse"], [1, 5, 1, "", "seed"]], "scpanel.GATclassifier.ClusterData": [[1, 2, 1, "", "__getitem__"], [1, 2, 1, "", "__len__"], [1, 2, 1, "", "__repr__"], [1, 3, 1, "", "num_parts"], [1, 2, 1, "", "process"], [1, 3, 1, "", "recursive"], [1, 3, 1, "", "save_dir"]], "scpanel.GATclassifier.GAT": [[1, 3, 1, "", "alpha"], [1, 3, 1, "", "dropout"], [1, 2, 1, "", "forward"], [1, 3, 1, "", "gat1"], [1, 3, 1, "", "gat2"], [1, 3, 1, "", "nFeatures"], [1, 3, 1, "", "nHeads"], [1, 3, 1, "", "nHiddenUnits"], [1, 3, 1, "", "n_nodes"]], "scpanel.GATclassifier.GATclassifier": [[1, 2, 1, "", "_build_model"], [1, 3, 1, "", "_history"], [1, 3, 1, "", "_model"], [1, 2, 1, "", "_train_model"], [1, 2, 1, "", "fit"], [1, 2, 1, "", "predict"], [1, 2, 1, "", "predict_proba"], [1, 2, 1, "", "score"]], "scpanel.SVMRFECV": [[2, 1, 1, "", "RFE"], [2, 1, 1, "", "RFECV"], [2, 4, 1, "", "_rfe_single_fit"]], "scpanel.SVMRFECV.RFE": [[2, 6, 1, "", "_estimator_type"], [2, 2, 1, "", "_fit"], [2, 2, 1, "", "_get_support_mask"], [2, 2, 1, "", "_more_tags"], [2, 3, 1, "", "classes_"], [2, 2, 1, "", "decision_function"], [2, 3, 1, "", "estimator"], [2, 3, 1, "", "estimator_"], [2, 3, 1, "", "feature_names_in_"], [2, 2, 1, "", "fit"], [2, 3, 1, "", "importance_getter"], [2, 3, 1, "", "n_features_"], [2, 3, 1, "", "n_features_in_"], [2, 3, 1, "", "n_features_to_select"], [2, 2, 1, "", "predict"], [2, 2, 1, "", "predict_log_proba"], [2, 2, 1, "", "predict_proba"], [2, 3, 1, "", "ranking_"], [2, 2, 1, "", "score"], [2, 3, 1, "", "step"], [2, 3, 1, "", "support_"], [2, 3, 1, "", "verbose"]], "scpanel.SVMRFECV.RFECV": [[2, 3, 1, "", "classes_"], [2, 3, 1, "", "cv"], [2, 3, 1, "", "cv_results_"], [2, 3, 1, "", "estimator"], [2, 3, 1, "", "estimator_"], [2, 3, 1, "", "feature_names_in_"], [2, 2, 1, "", "fit"], [2, 6, 1, "id0", "grid_scores_"], [2, 3, 1, "", "importance_getter"], [2, 3, 1, "", "min_features_to_select"], [2, 3, 1, "", "n_features_"], [2, 3, 1, "", "n_features_in_"], [2, 3, 1, "", "n_jobs"], [2, 3, 1, "", "ranking_"], [2, 3, 1, "", "scoring"], [2, 3, 1, "", "step"], [2, 3, 1, "", "support_"], [2, 3, 1, "", "verbose"]], "scpanel.palettes": [[4, 4, 1, "", "_plot_color_cycle"], [4, 5, 1, "", "default_102"], [4, 5, 1, "", "default_20"], [4, 5, 1, "", "default_28"], [4, 5, 1, "", "godsnot_102"], [4, 5, 1, "", "tab10"], [4, 5, 1, "", "vega_10"], [4, 5, 1, "", "vega_10_scanpy"], [4, 5, 1, "", "vega_20"], [4, 5, 1, "", "vega_20_scanpy"], [4, 5, 1, "", "zeileis_28"]], "scpanel.select_cell": [[5, 4, 1, "", "cal_bootstrap_score"], [5, 4, 1, "", "cell_type_score"], [5, 4, 1, "", "custom_metrics"], [5, 4, 1, "", "plot_cell_type_score"], [5, 4, 1, "", "select_celltype"], [5, 4, 1, "", "split_patients"]], "scpanel.select_gene": [[6, 4, 1, "", "decide_k"], [6, 4, 1, "", "gene_score"], [6, 4, 1, "", "plot_gene_score"], [6, 4, 1, "", "select_gene"], [6, 4, 1, "", "select_gene_stable"], [6, 4, 1, "", "split_n_folds"]], "scpanel.settings": [[7, 4, 1, "", "set_rcParams"]], "scpanel.split_patient": [[8, 4, 1, "", "split_train_test"]], "scpanel.train": [[9, 4, 1, "", "_panel_grid"], [9, 4, 1, "", "auc_pvalue"], [9, 4, 1, "", "cal_sample_auc"], [9, 4, 1, "", "convert_pvalue_to_asterisks"], [9, 4, 1, "", "make_single_spider"], [9, 4, 1, "", "models_predict"], [9, 4, 1, "", "models_score"], [9, 4, 1, "", "models_train"], [9, 4, 1, "", "plot_roc_curve"], [9, 4, 1, "", "plot_violin"], [9, 4, 1, "", "pt_pred"], [9, 4, 1, "", "pt_score"], [9, 4, 1, "", "transform_adata"]], "scpanel.utils_func": [[10, 4, 1, "", "check_nonnegative_float"], [10, 4, 1, "", "check_nonnegative_integers"], [10, 4, 1, "", "compute_cell_weight"], [10, 4, 1, "", "downsample_adata"], [10, 4, 1, "", "get_X_y_from_ann"], [10, 4, 1, "", "preprocess"]]}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "class", "Python class"], "2": ["py", "method", "Python method"], "3": ["py", "attribute", "Python attribute"], "4": ["py", "function", "Python function"], "5": ["py", "data", "Python data"], "6": ["py", "property", "Python property"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:attribute", "4": "py:function", "5": "py:data", "6": "py:property"}, "terms": {"": [2, 4, 9], "0": [1, 2, 6, 8, 9], "0005": 1, "001": 1, "006fa6": 4, "008941": 4, "023fa5": 4, "03": 6, "1": [0, 1, 2, 6, 10], "10": [2, 9, 10], "100": [1, 5, 6], "1000000": 1, "14": 7, "16": 5, "18": 2, "1ce6ff": 4, "1f77b4": 4, "2": [1, 2, 6, 8, 9], "20": [1, 2, 6, 8], "200": [1, 6], "2002": 2, "21915": 1, "22": 2, "2349": 6, "24": 2, "25": 9, "256": 1, "2ca02c": 4, "3": [2, 8, 9], "3467": 8, "389": 2, "4": [1, 2, 5, 6, 9], "4000": 10, "42": 1, "422": 2, "46": 2, "4a6fe3": 4, "5": [1, 2, 5, 6], "50": 2, "6": [2, 6], "7d87b9": 4, "7f7f7f": 4, "8": [1, 6], "8595e1": 4, "8c564b": 4, "8e063b": 4, "9467bd": 4, "A": [1, 2], "As": 1, "For": 2, "If": [1, 2], "That": 2, "The": [1, 2], "Then": 2, "__getitem__": 1, "__init__": 1, "__len__": 1, "__repr__": 1, "_ax": [5, 6, 9], "_base": 2, "_build_model": 1, "_class": [2, 9], "_classif": 9, "_core": [5, 6, 8, 9, 10], "_csr": [1, 10], "_estimator_typ": 2, "_fit": 2, "_forest": 9, "_get_support_mask": 2, "_histori": 1, "_logist": 9, "_model": 1, "_more_tag": 2, "_panel_grid": 9, "_plot_color_cycl": 4, "_rfe_single_fit": 2, "_test_scor": 2, "_train_model": 1, "a30059": 4, "about": 2, "abov": 1, "absolut": 2, "accept": 2, "across": 2, "ad": 2, "adata": [5, 8, 9, 10], "adata_test_dict": 9, "adata_test_fin": 9, "adata_train": [6, 9], "adata_train_dict": 5, "adata_train_fin": 9, "adatp": 1, "add": 11, "addit": [2, 4], "adj": 1, "algorithm": 1, "all": [1, 2], "allow": [1, 2], "alpha": 1, "alreadi": 1, "also": [1, 2], "alwai": 2, "an": [1, 2], "ani": [2, 9], "anndata": [5, 6, 8, 9, 10], "api": 11, "ar": 2, "arrai": [1, 2, 10], "assign": [1, 2], "attrgett": 2, "attribut": 2, "auc": 5, "auc_al": 5, "auc_pvalu": 9, "auto": [0, 2], "autoapi": 0, "automat": 2, "avail": 2, "average_precis": 6, "ax": [5, 6, 9], "barnhil": 2, "base": [1, 2], "baseestim": [1, 2], "batch": 1, "batch_siz": 1, "batchsiz": 1, "bb7784": 4, "bec1d4": 4, "befor": 1, "best": 2, "better": 1, "between": [1, 2], "binari": 2, "bisect": 1, "bool": [1, 2, 5, 6, 9, 10], "boolean": [1, 2], "built": 2, "c3": 9, "c6": 9, "cal_bootstrap_scor": 5, "cal_sample_auc": 9, "call": 1, "callabl": 2, "can": [1, 2], "cancer": 2, "case": 2, "categor": [1, 10], "ceil": 2, "cell": 9, "cell_pred_col": 9, "cell_type_scor": 5, "celltype_select": 5, "chang": 2, "check": 10, "check_nonnegative_float": 10, "check_nonnegative_integ": 10, "child": 1, "class_map": 10, "classes_": 2, "classif": 2, "classifi": 2, "clf": [2, 9], "clip": 1, "clist": 4, "cluster": 1, "cluster_data": 1, "clusterdata": 1, "clusterload": 1, "code": 1, "coef_": 2, "coeffici": 2, "color": [4, 9], "color_map": 7, "column": 9, "comput": 2, "compute_cell_weight": 10, "conjunct": 2, "consid": 2, "contain": [0, 1], "context": 2, "control": 2, "conv1": 1, "conv2": 1, "conv2d": 1, "convert": [1, 2], "convert_pvalue_to_asterisk": 9, "convolut": 1, "core": [1, 2, 5, 9, 10], "correspond": 2, "count": [2, 10], "cpu": 1, "creat": 0, "cross": 2, "csr_matrix": [1, 2, 10], "ct_col": 10, "current": [1, 2], "custom_metr": 5, "cv": 2, "cv_results_": 2, "d62728": 4, "d6bcc0": 4, "data": [1, 10], "datafram": [5, 9, 10], "dataload": 1, "dataset": [1, 2], "decide_k": 6, "decis": 2, "decision_funct": 2, "deep": 1, "def": 1, "default": [1, 2, 7, 9], "default_102": 4, "default_20": 4, "default_28": 4, "defin": 2, "deprec": 2, "desir": 2, "detail": [2, 11], "determin": 2, "deviat": 2, "devic": 1, "df": 9, "dict": [2, 5, 8, 9, 10], "differ": [2, 9], "directori": 1, "discuss": 1, "distribut": 9, "divis": 2, "document": [0, 2], "doe": 2, "dot_siz": 9, "down": 2, "downsample_adata": 10, "downsample_prop_list": 6, "downsample_s": 10, "dropout": 1, "dtype": 2, "dure": 2, "e": 2, "e377c2": 4, "each": [2, 9], "effici": 1, "either": 2, "element": 2, "elimin": 2, "ensembl": 9, "ensur": 10, "entri": 2, "epoch": 1, "equal": 2, "estim": 2, "estimator_": 2, "etc": 1, "evalu": [1, 2], "even": 2, "eventu": 2, "everi": 1, "exampl": [1, 2, 9], "experiment": 1, "expos": 2, "extern": 2, "extract": 2, "f": 1, "fals": [1, 2, 5, 6, 9, 10], "faster": 1, "fastmod": 1, "favor": 2, "featur": 2, "feature_importances_": 2, "feature_names_in_": 2, "feature_select": 2, "fewer": 2, "ff34ff": 4, "ff4a46": 4, "ff7f0e": 4, "ffdbe5": 4, "ffff00": 4, "fig_siz": 9, "figur": 9, "first": 2, "fit": [1, 2], "fit_param": 2, "float": [1, 2, 5, 6, 8, 9], "float32": 2, "float64": [5, 9], "fold": 2, "follow": 2, "fontsiz": 7, "form": 1, "format": 1, "forum": 1, "forward": 1, "fraction": 2, "frame": [5, 9, 10], "friedman": 2, "from": [1, 2, 9], "g": 2, "gat": 1, "gat1": 1, "gat2": 1, "gatclassifi": [0, 3, 9], "gcn": 1, "gene": 2, "gene_scor": 6, "gener": [0, 2], "get": 2, "get_x_y_from_ann": 10, "getter": 2, "give": 2, "given": 2, "glossari": 2, "goal": 2, "godsnot_102": 4, "graph": 1, "greater": 2, "grid_scores_": 2, "gridspec": 9, "group": [2, 5], "groupkfold": 2, "guid": 2, "guyon": 2, "h1": 9, "ha": 2, "half": 2, "have": 1, "height": [5, 6], "here": 2, "how": [1, 2], "hspace": 9, "http": 1, "hypothesi": 9, "i": [1, 2, 9, 10], "idx": 1, "iff": 2, "implement": [1, 2], "import": [1, 2], "importance_gett": 2, "indic": 2, "inf": 2, "inform": 2, "initi": 2, "input": [1, 2, 10], "instanc": 2, "instead": 1, "int": [1, 2, 5, 6, 8, 9, 10], "integ": 2, "integr": 10, "intern": 2, "isn": 2, "iter": 2, "its": 2, "j": 2, "joblib": 2, "k": [1, 2, 6], "kei": 2, "kernel": 2, "kfold": 2, "kneighborsclassifi": 9, "known": 2, "kwarg": 1, "label": 2, "larg": 1, "last": 2, "learn": 2, "least": 2, "legend_kw": 9, "level": 9, "like": 2, "linear": 2, "linear_model": 9, "link": 1, "list": [2, 6, 9], "load": 1, "loader": 1, "log": 2, "logcount": 10, "logisticregress": 9, "lr": 1, "mach": 2, "machin": 2, "made": 1, "mae": 1, "mai": 2, "make": 1, "make_friedman1": 2, "make_single_spid": 9, "mani": 1, "map": 4, "marker": 9, "mask": 2, "matplotlib": [4, 5, 6, 7, 9], "matrix": [1, 2], "mean": 2, "mean_test_scor": 2, "median_pred_scor": 9, "merg": 1, "metaestimatormixin": 2, "method": 2, "metric": [5, 6], "metric_idx": 9, "min_cel": 8, "min_features_to_select": 2, "min_sampl": 8, "mini": 1, "minimum": 2, "mode": 1, "model": [1, 2], "models_predict": 9, "models_scor": 9, "models_train": 9, "more": 2, "most": 2, "motiv": 1, "multiclass": 2, "multilevel": 1, "multipl": 1, "must": 1, "n_class": 2, "n_featur": 2, "n_features_": 2, "n_features_in_": 2, "n_features_to_select": 2, "n_genes_plot": 6, "n_iter": [5, 6], "n_job": 2, "n_neigh": 10, "n_node": 1, "n_sampl": 2, "n_subsets_of_featur": 2, "n_thread": 5, "name": [2, 9], "named_step": 2, "nan": 2, "narrai": 2, "ncol": 9, "ncpu": [5, 6], "ndarrai": [1, 2, 9, 10], "neg": 1, "neighbor": 9, "neither": 2, "nepoch": 1, "nest": 1, "network": 1, "neural": 1, "nfeatur": 1, "nfold": 6, "nhead": 1, "nhiddenunit": 1, "nn": 1, "none": [1, 2, 6, 7, 9, 10], "nor": 2, "note": 2, "np": 2, "nrow": 9, "null": 9, "num_bootstrap": 9, "num_cor": 6, "num_panel": 9, "num_part": 1, "number": [1, 2], "numpart": 1, "numpi": [1, 2, 5, 9, 10], "ob": 9, "object": [1, 2, 9, 10], "obtain": 2, "one": [2, 9], "onli": 2, "option": [1, 9, 10], "order": 2, "org": 1, "origin": 2, "other": 1, "out_dir": [5, 6, 8, 9], "output": 2, "over": 2, "overrid": 2, "p": 2, "page": 0, "palett": [0, 3, 9], "panda": [1, 5, 9, 10], "paper": 1, "parallel": 2, "parallel_backend": 2, "param": 2, "param_grid": 9, "paramet": [1, 2, 9, 10], "parent": 1, "partion": 1, "partit": 1, "pass": 2, "path": 2, "per": 1, "percentag": 2, "perm": 9, "permut": 9, "pipelin": 2, "plot": 9, "plot_cell_type_scor": 5, "plot_gene_scor": 6, "plot_roc_curv": 9, "plot_violin": 9, "popul": 9, "posit": 2, "possibl": 2, "predict": [1, 2, 9], "predict_log_proba": 2, "predict_proba": [1, 2], "preprocess": 10, "priori": 2, "probabl": [2, 9], "procedur": 2, "process": 1, "processor": 2, "produc": 2, "properti": 2, "provid": 2, "prune": 2, "pt_col": 10, "pt_pred": 9, "pt_score": 9, "pt_stat": 9, "pvalu": 9, "pytorch": 1, "r": 1, "radiu": 9, "randint": 1, "random": 1, "random_st": [2, 5, 6, 8, 10], "randomforestclassifi": 9, "rank": 2, "ranking_": 2, "rcparam": 7, "re": 1, "reach": 2, "read": 2, "real": 2, "recurs": [1, 2], "reduc": 2, "ref": 1, "refer": [2, 11], "regist": 1, "regress": 2, "regressor": 1, "regressor_": 2, "regular": 1, "reli": 2, "relu": 1, "remov": 2, "repeat": 2, "repres": 1, "reshuffl": 1, "restructuredtext": 11, "retent": 2, "retriev": 2, "return": [1, 2, 9, 10], "return_adj": 10, "rfe": 2, "rfecv": [2, 6], "round": 2, "row": 9, "run": 2, "sampl": [1, 2, 9], "sample_id": 9, "sample_n_cel": 5, "sample_weight": [1, 2], "sample_weight_list": [2, 6], "save": 1, "save_dir": 1, "scale": 1, "scatter_kw": 9, "scheme": 1, "scipi": [1, 10], "scipysparse2torchspars": 1, "score": [1, 2], "score_col": 9, "scorer": 2, "scpanel": 0, "search_grid": 9, "see": [2, 11], "seed": 1, "seen": 2, "select": 2, "select_cel": [0, 3], "select_celltyp": 5, "select_gen": [0, 3], "select_gene_st": 6, "selected_gen": 9, "selectfrommodel": 2, "selector": 2, "selectormixin": 2, "self": [1, 2], "sequenc": 4, "sequenti": 2, "sequentialfeatureselector": 2, "seri": 9, "set": [0, 1, 2, 3], "set_rcparam": 7, "shape": 2, "should": [1, 2], "show": 2, "show_progress": 5, "shuffl": 1, "signatur": 2, "size": [2, 9], "sklearn": [1, 2, 9], "smaller": 2, "spars": [1, 2, 10], "specif": 2, "specifi": 2, "sphinx": 0, "split": 2, "split_n_fold": 6, "split_pati": [0, 3, 5], "split_train_test": 8, "splitter": 2, "spmatrix": 10, "standard": [2, 10], "std_test_scor": 2, "step": [2, 6], "step_scor": 2, "str": [1, 2, 4, 5, 6, 8, 9, 10], "strategi": 2, "stratifiedkfold": 2, "string": [1, 2, 9], "stripplot": 9, "structur": 1, "subclass": 1, "subgraph": 1, "submodul": 1, "subset": 2, "super": 1, "supervis": 2, "support": 2, "support_": 2, "svc": [2, 9], "svm": [2, 9], "svmrfecv": [0, 3, 6], "svr": 2, "syntax": 11, "t": [1, 2, 9], "tab10": 4, "target": 2, "tensor": [1, 9], "test": [2, 9], "test_pt_siz": [5, 8], "text_kw": 9, "th": 2, "than": 2, "them": 1, "thi": [0, 1, 2, 9], "threshold": 2, "through": 2, "too": 1, "top_n_feat": 6, "torch": [1, 9], "torch_geometr": 1, "total": 2, "train": [0, 1, 2, 3], "train_idx": 2, "train_idx_list": 2, "train_index_list": 6, "transform": 2, "transform_adata": 9, "transformedtargetregressor": 2, "tree": 1, "true": [1, 2, 5], "tune": 2, "tupl": [1, 5, 6, 8, 9, 10], "type": [2, 9, 10], "under": 1, "underli": 2, "unless": 2, "until": 2, "us": [1, 2, 11], "user": 2, "util": 1, "utils_func": [0, 3], "v": 2, "val_idx": 2, "val_idx_list": 2, "val_index_list": 6, "valid": 2, "valu": [2, 10], "vapnik": 2, "variabl": 1, "variou": 2, "vector": 2, "vega_10": 4, "vega_10_scanpi": 4, "vega_20": 4, "vega_20_scanpi": 4, "verbos": [1, 2, 5, 6, 8], "version": 2, "versionad": 2, "versionchang": 2, "violin": 9, "wai": 1, "weight": 2, "weightdecai": 1, "well": 2, "weston": 2, "when": [1, 2], "where": 2, "whether": 1, "which": [1, 2], "while": 2, "width": [5, 6], "within": 2, "wspace": 9, "x": [1, 2, 10], "xticklabels_color": 9, "y": [1, 2], "y_col": 10, "y_pred_list": 9, "y_pred_score_list": 9, "yield": 2, "you": 1, "your": [1, 11], "zeileis_28": 4}, "titles": ["API Reference", "scpanel.GATclassifier", "scpanel.SVMRFECV", "scpanel", "scpanel.palettes", "scpanel.select_cell", "scpanel.select_gene", "scpanel.settings", "scpanel.split_patient", "scpanel.train", "scpanel.utils_func", "scPanel documentation"], "titleterms": {"api": 0, "attribut": [1, 4], "class": [1, 2], "content": [1, 2, 4, 5, 6, 7, 8, 9, 10, 11], "document": 11, "function": [1, 2, 4, 5, 6, 7, 8, 9, 10], "gatclassifi": 1, "modul": [1, 2, 4, 5, 6, 7, 8, 9, 10], "palett": 4, "refer": 0, "scpanel": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], "select_cel": 5, "select_gen": 6, "set": 7, "split_pati": 8, "submodul": 3, "svmrfecv": 2, "train": 9, "utils_func": 10}})