From cde0f4ac5b692c6122b100b0bfdb2da9cebd48fb Mon Sep 17 00:00:00 2001 From: haozhu233 Date: Sat, 11 May 2024 15:02:35 +0000 Subject: [PATCH] deploy: 25b57c622f8f9a85e4a910567fb72eb6948de8eb --- _sources/quick_tour.md | 6 ++---- quick_tour.html | 6 ++---- searchindex.js | 2 +- 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/_sources/quick_tour.md b/_sources/quick_tour.md index 03d49cf..be162ee 100644 --- a/_sources/quick_tour.md +++ b/_sources/quick_tour.md @@ -162,11 +162,9 @@ You can also apply the clustering information to your visual. ```python >>> gene_group_dict = dict() ->>> gene_group_dict = {g:[ ->>> 'red', 'blue', 'yellow', 'green' ->>> ][c] for g, c in zip(nxg.nodes(), node_labels)} +>>> gene_group_dict = {g:str(c) for g, c in zip(nxg.nodes(), node_labels)} >>> g = grn.visualize_local_neighborhood( ->>> 'HIST1H1D', k=40, node_color_dict=gene_group_dict +>>> 'HIST1H1D', k=40, node_group_dict=gene_group_dict >>> ) >>> g.show('view.html') ``` diff --git a/quick_tour.html b/quick_tour.html index b19f171..d3cc2a3 100644 --- a/quick_tour.html +++ b/quick_tour.html @@ -498,11 +498,9 @@

(Optional) Step 3. Node clustering
>>> gene_group_dict = dict()
->>> gene_group_dict = {g:[
->>>     'red', 'blue', 'yellow', 'green'
->>> ][c] for g, c in zip(nxg.nodes(), node_labels)}
+>>> gene_group_dict = {g:str(c) for g, c in zip(nxg.nodes(), node_labels)}
 >>> g = grn.visualize_local_neighborhood(
->>>     'HIST1H1D', k=40, node_color_dict=gene_group_dict
+>>>     'HIST1H1D', k=40, node_group_dict=gene_group_dict
 >>>     )
 >>> g.show('view.html')
 
diff --git a/searchindex.js b/searchindex.js index 515db22..e31f41b 100644 --- a/searchindex.js +++ b/searchindex.js @@ -1 +1 @@ -Search.setIndex({"alltitles": {"(Optional) Step 3. Node clustering": [[11, "optional-step-3-node-clustering"]], "Additional local networks": [[12, "additional-local-networks"]], "Citation": [[8, "citation"]], "Data Loading": [[11, "data-loading"]], "GRN": [[0, "grn"]], "GRN Inference": [[11, "grn-inference"]], "GRN object": [[11, "grn-object"]], "GRNEvaluator": [[1, "grnevaluator"]], "Get Started": [[11, "get-started"]], "Inference Speed": [[8, "inference-speed"]], "Inspecting the local network around particular genes": [[11, "inspecting-the-local-network-around-particular-genes"]], "Installation": [[8, "installation"]], "Model Structure": [[8, "model-structure"]], "Quick Tour": [[8, "quick-tour"]], "RegDiffusion": [[6, "regdiffusion"], [8, "regdiffusion"]], "RegDiffusionTrainer": [[2, "regdiffusiontrainer"]], "Requirements": [[11, "requirements"]], "Result Interpretation": [[11, "result-interpretation"]], "Step 1. Discover target genes": [[11, "step-1-discover-target-genes"]], "Step 2. Visualize the local network around the selected gene": [[11, "step-2-visualize-the-local-network-around-the-selected-gene"]], "Understanding the Inferred Networks": [[8, "understanding-the-inferred-networks"]], "data module": [[7, "data-module"]], "main Interface": [[9, "main-interface"]], "models": [[10, "models"]], "regdiffusion.data.load_atlas_microglia": [[3, "regdiffusion-data-load-atlas-microglia"]], "regdiffusion.data.load_beeline": [[4, "regdiffusion-data-load-beeline"]], "regdiffusion.data.load_hammond_microglia": [[5, "regdiffusion-data-load-hammond-microglia"]]}, "docnames": ["_autosummary/regdiffusion.GRN", "_autosummary/regdiffusion.GRNEvaluator", "_autosummary/regdiffusion.RegDiffusionTrainer", "_autosummary/regdiffusion.data.load_atlas_microglia", "_autosummary/regdiffusion.data.load_beeline", "_autosummary/regdiffusion.data.load_hammond_microglia", "_autosummary/regdiffusion.models.RegDiffusion", "data_module", "index", "main_api", "models", "quick_tour", "supplements"], "envversion": {"sphinx": 61, "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, "sphinx.ext.viewcode": 1}, "filenames": ["_autosummary/regdiffusion.GRN.rst", "_autosummary/regdiffusion.GRNEvaluator.rst", "_autosummary/regdiffusion.RegDiffusionTrainer.rst", "_autosummary/regdiffusion.data.load_atlas_microglia.rst", "_autosummary/regdiffusion.data.load_beeline.rst", "_autosummary/regdiffusion.data.load_hammond_microglia.rst", "_autosummary/regdiffusion.models.RegDiffusion.rst", "data_module.rst", "index.rst", "main_api.rst", "models.rst", "quick_tour.md", "supplements.rst"], "indexentries": {"add_module() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.add_module", false]], "apply() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.apply", false]], "bfloat16() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.bfloat16", false]], "buffers() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.buffers", false]], "children() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.children", false]], "compile() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.compile", false]], "cpu() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.cpu", false]], "cuda() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.cuda", false]], "double() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.double", false]], "eval() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.eval", false]], "extra_repr() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.extra_repr", false]], "extract_local_neighborhood() (regdiffusion.grn method)": [[0, "regdiffusion.GRN.extract_local_neighborhood", false]], "extract_node_neighbors() (regdiffusion.grn method)": [[0, "regdiffusion.GRN.extract_node_neighbors", false]], "extract_node_neighbors_as_indices() (regdiffusion.grn method)": [[0, "regdiffusion.GRN.extract_node_neighbors_as_indices", false]], "extract_node_sources() (regdiffusion.grn method)": [[0, "regdiffusion.GRN.extract_node_sources", false]], "extract_node_sources_as_indices() (regdiffusion.grn method)": [[0, "regdiffusion.GRN.extract_node_sources_as_indices", false]], "extract_node_targets() (regdiffusion.grn method)": [[0, "regdiffusion.GRN.extract_node_targets", false]], "extract_node_targets_as_indices() (regdiffusion.grn method)": [[0, "regdiffusion.GRN.extract_node_targets_as_indices", false]], "float() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.float", false]], "forward() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.forward", false]], "forward_pass() (regdiffusion.regdiffusiontrainer method)": [[2, "regdiffusion.RegDiffusionTrainer.forward_pass", false]], "get_adj() (regdiffusion.regdiffusiontrainer method)": [[2, "regdiffusion.RegDiffusionTrainer.get_adj", false]], "get_buffer() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.get_buffer", false]], "get_edgelist() (regdiffusion.grn method)": [[0, "regdiffusion.GRN.get_edgelist", false]], "get_extra_state() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.get_extra_state", false]], "get_grn() (regdiffusion.regdiffusiontrainer method)": [[2, "regdiffusion.RegDiffusionTrainer.get_grn", false]], "get_parameter() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.get_parameter", false]], "get_submodule() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.get_submodule", false]], "grn (class in regdiffusion)": [[0, "regdiffusion.GRN", false]], "grnevaluator (class in regdiffusion)": [[1, "regdiffusion.GRNEvaluator", false]], "half() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.half", false]], "ipu() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.ipu", false]], "load_atlas_microglia() (in module regdiffusion.data)": [[3, "regdiffusion.data.load_atlas_microglia", false]], "load_beeline() (in module regdiffusion.data)": [[4, "regdiffusion.data.load_beeline", false]], "load_hammond_microglia() (in module regdiffusion.data)": [[5, "regdiffusion.data.load_hammond_microglia", false]], "load_state_dict() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.load_state_dict", false]], "modules() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.modules", false]], "named_buffers() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.named_buffers", false]], "named_children() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.named_children", false]], "named_modules() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.named_modules", false]], "named_parameters() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.named_parameters", false]], "parameters() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.parameters", false]], "regdiffusion (class in regdiffusion.models)": [[6, "regdiffusion.models.RegDiffusion", false]], "regdiffusiontrainer (class in regdiffusion)": [[2, "regdiffusion.RegDiffusionTrainer", false]], "register_backward_hook() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.register_backward_hook", false]], "register_buffer() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.register_buffer", false]], "register_forward_hook() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.register_forward_hook", false]], "register_forward_pre_hook() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.register_forward_pre_hook", false]], "register_full_backward_hook() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.register_full_backward_hook", false]], "register_full_backward_pre_hook() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.register_full_backward_pre_hook", false]], "register_load_state_dict_post_hook() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.register_load_state_dict_post_hook", false]], "register_module() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.register_module", false]], "register_parameter() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.register_parameter", false]], "register_state_dict_pre_hook() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.register_state_dict_pre_hook", false]], "requires_grad_() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.requires_grad_", false]], "set_extra_state() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.set_extra_state", false]], "share_memory() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.share_memory", false]], "state_dict() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.state_dict", false]], "to() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.to", false]], "to_empty() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.to_empty", false]], "to_hdf5() (regdiffusion.grn method)": [[0, "regdiffusion.GRN.to_hdf5", false]], "train() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.train", false]], "train() (regdiffusion.regdiffusiontrainer method)": [[2, "regdiffusion.RegDiffusionTrainer.train", false]], "training_curves() (regdiffusion.regdiffusiontrainer method)": [[2, "regdiffusion.RegDiffusionTrainer.training_curves", false]], "type() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.type", false]], "visualize_local_neighborhood() (regdiffusion.grn method)": [[0, "regdiffusion.GRN.visualize_local_neighborhood", false]], "xpu() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.xpu", false]], "zero_grad() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.zero_grad", false]]}, "objects": {"regdiffusion": [[0, 0, 1, "", "GRN"], [1, 0, 1, "", "GRNEvaluator"], [2, 0, 1, "", "RegDiffusionTrainer"]], "regdiffusion.GRN": [[0, 1, 1, "", "extract_local_neighborhood"], [0, 1, 1, "", "extract_node_neighbors"], [0, 1, 1, "", "extract_node_neighbors_as_indices"], [0, 1, 1, "", "extract_node_sources"], [0, 1, 1, "", "extract_node_sources_as_indices"], [0, 1, 1, "", "extract_node_targets"], [0, 1, 1, "", "extract_node_targets_as_indices"], [0, 1, 1, "", "get_edgelist"], [0, 1, 1, "", "to_hdf5"], [0, 1, 1, "", "visualize_local_neighborhood"]], "regdiffusion.RegDiffusionTrainer": [[2, 1, 1, "", "forward_pass"], [2, 1, 1, "", "get_adj"], [2, 1, 1, "", "get_grn"], [2, 1, 1, "", "train"], [2, 1, 1, "", "training_curves"]], "regdiffusion.data": [[3, 2, 1, "", "load_atlas_microglia"], [4, 2, 1, "", "load_beeline"], [5, 2, 1, "", "load_hammond_microglia"]], "regdiffusion.models": [[6, 0, 1, "", "RegDiffusion"]], "regdiffusion.models.RegDiffusion": [[6, 1, 1, "", "add_module"], [6, 1, 1, "", "apply"], [6, 1, 1, "", "bfloat16"], [6, 1, 1, "", "buffers"], [6, 1, 1, "", "children"], [6, 1, 1, "", "compile"], [6, 1, 1, "", "cpu"], [6, 1, 1, "", "cuda"], [6, 1, 1, "", "double"], [6, 1, 1, "", "eval"], [6, 1, 1, "", "extra_repr"], [6, 1, 1, "", "float"], [6, 1, 1, "", "forward"], [6, 1, 1, "", "get_buffer"], [6, 1, 1, "", "get_extra_state"], [6, 1, 1, "", "get_parameter"], [6, 1, 1, "", "get_submodule"], [6, 1, 1, "", "half"], [6, 1, 1, "", "ipu"], [6, 1, 1, "", "load_state_dict"], [6, 1, 1, "", "modules"], [6, 1, 1, "", "named_buffers"], [6, 1, 1, "", "named_children"], [6, 1, 1, "", "named_modules"], [6, 1, 1, "", "named_parameters"], [6, 1, 1, "", "parameters"], [6, 1, 1, "", "register_backward_hook"], [6, 1, 1, "", "register_buffer"], [6, 1, 1, "", "register_forward_hook"], [6, 1, 1, "", "register_forward_pre_hook"], [6, 1, 1, "", "register_full_backward_hook"], [6, 1, 1, "", "register_full_backward_pre_hook"], [6, 1, 1, "", "register_load_state_dict_post_hook"], [6, 1, 1, "", "register_module"], [6, 1, 1, "", "register_parameter"], [6, 1, 1, "", "register_state_dict_pre_hook"], [6, 1, 1, "", "requires_grad_"], [6, 1, 1, "", "set_extra_state"], [6, 1, 1, "", "share_memory"], [6, 1, 1, "", "state_dict"], [6, 1, 1, "", "to"], [6, 1, 1, "", "to_empty"], [6, 1, 1, "", "train"], [6, 1, 1, "", "type"], [6, 1, 1, "", "xpu"], [6, 1, 1, "", "zero_grad"]]}, "objnames": {"0": ["py", "class", "Python class"], "1": ["py", "method", "Python method"], "2": ["py", "function", "Python function"]}, "objtypes": {"0": "py:class", "1": "py:method", "2": "py:function"}, "terms": {"": [0, 2, 6, 8, 11], "0": [0, 2, 5, 6, 11], "00": 11, "000": [2, 8, 11], "0001": 2, "001": 2, "01": 2, "019": 4, "02": 2, "021": 3, "03220": 3, "051973534439936624": 11, "06": 11, "0690": 4, "1": [0, 2, 5, 6], "10": [2, 8, 11], "100": [2, 6, 11], "1000": [2, 11], "1000_chip": 4, "1000_lofgof": 4, "1000_non": 4, "1000_string": [4, 11], "1150": 6, "12": 8, "123": [2, 11], "128": 2, "14": 11, "143": 11, "15": 8, "16": [2, 6], "1620": 11, "18": 5, "1870197171394254": 11, "1913": 6, "1914": 6, "1d": [0, 1, 2], "1l": 6, "2": [0, 5, 6], "20": [0, 11], "200": [6, 11], "2023": 11, "20l": 6, "2324": 6, "2325": 6, "2382": 6, "25": 2, "2d": [0, 1, 2], "3": [0, 2, 4, 5, 6, 8], "30": 11, "304": 11, "30485": 5, "33": 6, "3420": 6, "3741": 6, "4": [2, 5, 6, 8, 11], "40": 11, "421": 11, "4439084980230183": 11, "4443": 6, "4d": 6, "5": [0, 2, 6, 8], "5000": 2, "500_chip": 4, "500_lofgof": 4, "500_non": 4, "500_string": 4, "5112": 6, "5113": 6, "53it": 11, "5593": 6, "5l": 6, "6": 4, "6114549433214784": 11, "6122": 6, "620": 11, "64": [2, 11], "7": 4, "755": 11, "7613": 5, "8": 11, "80": 11, "A": [0, 1, 2, 3, 4, 6], "And": 6, "By": [2, 11], "For": [1, 2, 6, 8, 11], "If": [0, 2, 3, 4, 5, 6, 11], "In": [0, 6, 8, 11], "It": [0, 2, 6, 8, 11], "Its": 6, "The": [0, 2, 3, 4, 5, 6, 8, 11], "There": 11, "These": 6, "To": [0, 6], "__call__": 6, "a100": [8, 11], "abl": 11, "abov": 6, "absolut": 0, "abtb1": 11, "acc": 5, "acceler": 11, "accept": 6, "access": [2, 5, 6, 7, 8], "achiev": 6, "ad": [2, 6, 8, 11], "add": 6, "add_modul": 6, "addit": 6, "adj": [2, 11], "adj_chang": 2, "adj_dropout": [2, 6], "adj_matrix": [0, 11], "adj_tabl": 11, "adjac": [0, 1, 2, 4, 6, 8, 11], "adult": [5, 11], "affect": 6, "after": [6, 8], "afterward": [6, 11], "again": 11, "against": 6, "ai": 11, "algorithm": [4, 8], "alia": 6, "all": [0, 2, 3, 5, 6, 11], "allow": 6, "alongsid": 6, "alreadi": [5, 6], "also": [2, 3, 5, 6, 8, 11], "although": 6, "alwai": 6, "always_cal": 6, "among": [4, 11], "amount": 11, "an": [1, 2, 3, 4, 5, 6, 8, 11], "analys": 11, "analysi": [8, 11], "analyz": [0, 8], "ani": [6, 11], "anndata": [3, 4, 5, 11], "anoth": 11, "appl": 2, "appli": [6, 11], "ar": [0, 2, 3, 5, 6, 8, 11], "architectur": [2, 6], "arg": [0, 6], "argmax": 11, "argument": [0, 6], "around": 0, "arrai": [0, 1, 2, 4, 8, 11], "articl": [3, 4], "as_spars": [0, 11], "assign": [6, 11], "associ": 6, "asynchron": 6, "atf3": 11, "atf4": 11, "atla": [3, 11], "attribut": 6, "attributeerror": 6, "aupr": [1, 8, 11], "auprr": [1, 11], "auroc": [1, 8, 11], "autograd": 6, "automat": 11, "avaiabl": 11, "avail": [2, 4, 8], "averag": [6, 11], "avoid": 6, "b": 1, "back": 2, "backward": 6, "backward_pr": 6, "bar": 11, "bard1": 11, "base": [2, 6, 8, 11, 12], "batch": 2, "batch_siz": 2, "batch_word": 11, "batchnorm": 6, "beelin": [4, 7, 8, 11], "been": [2, 5, 11], "befor": [2, 6], "behavior": 6, "being": 6, "believ": 11, "below": [0, 6, 11], "benchmark": [4, 7, 8, 11], "benchmark_data": [4, 11], "benchmark_set": [4, 11], "beta": 2, "better": 11, "between": [0, 6, 11], "beyond": 2, "bfloat16": 6, "bia": 6, "bidirect": 11, "biolog": [8, 11], "bipartisan": 11, "bl_dt": 11, "bl_gt": 11, "blue": 11, "bool": [0, 6], "boolean": 2, "both": [6, 11], "bound": [6, 11], "brain": 5, "brca1": 11, "break": [6, 11], "broad": 3, "broadinstitut": 3, "buf": 6, "buffer": 6, "build": 6, "c": [1, 11], "calcul": 0, "call": [6, 11], "callabl": 6, "caller": 6, "can": [0, 2, 6, 7, 8, 11], "capabl": [8, 11], "card": [8, 11], "care": [6, 8], "case": [0, 2, 11], "cast": 6, "cdoubl": 6, "cell": [2, 3, 4, 5, 6, 7, 8, 11], "cell_typ": [2, 11], "cell_type_index": 11, "celltyp": 6, "celltype_dim": [2, 6], "cerebellar": 3, "cerebellum": [3, 11], "certain": 6, "cgi": 5, "chang": [2, 5, 6, 11], "channels_last": 6, "check": [2, 6, 8, 11], "child": 6, "children": 6, "chip": [2, 4], "choos": [0, 4], "cite": 8, "class": [0, 1, 2, 6, 8], "clear": 6, "clearli": 11, "close": 11, "cloud": 11, "cluster_id": 11, "cluster_nod": 11, "coef": 2, "coeffic": 2, "coeffici": 6, "column": [0, 2, 3, 4, 5, 11], "com": [3, 4, 5], "come": [0, 8, 11], "common": 8, "companion": 8, "compar": 11, "comparison": 6, "compat": 6, "compil": [2, 6], "complet": [5, 11], "complex": [5, 6], "complex128": 6, "compon": 8, "compos": 6, "comprehens": 3, "comput": 6, "concern": 0, "concurr": 0, "confid": 11, "confus": 6, "connect": 0, "consid": [0, 6, 8, 11], "consist": [4, 6, 8], "construct": 6, "contain": [4, 6, 8], "context": 6, "continu": 8, "contrast": 8, "control": 2, "conv": 6, "conv2d": 6, "conv4": 6, "conv5": 6, "converg": [2, 8, 11], "convert": [2, 6], "copi": 6, "core": [8, 11], "correctli": 6, "correspond": [0, 6, 8], "cortex": 3, "could": 8, "count": [3, 11], "cpu": [2, 6, 8], "creat": [0, 3, 4, 5, 6], "ct": 6, "cuda": [2, 6, 11], "current": [1, 6], "curv": 2, "custom": 6, "cutoff": 0, "cx3cr1": 12, "data": [0, 2, 8], "data_dir": [3, 4, 5], "datafram": 0, "dataset": [2, 4, 5, 7, 8, 11, 12], "datatyp": 6, "def": 6, "default": [0, 2, 6, 11], "defin": [0, 2, 3, 6, 11], "degre": 6, "dek": 11, "demo_mesc_grn": 11, "depend": 11, "deprec": 6, "descend": 6, "design": [6, 8], "desir": [6, 11], "desktop": 11, "destin": 6, "detach": 6, "detail": [2, 6, 8], "determinist": 6, "devic": [2, 6, 8, 11], "diagram": 6, "dict": [0, 6, 11], "dictionari": [0, 6], "did": [8, 11], "differ": [0, 2, 6], "difficult": 8, "diffus": [2, 6, 8, 11], "dimens": [2, 6, 11], "direct": [0, 6], "directori": [3, 4, 5], "disabl": 6, "distribut": 11, "dna": 11, "dnmt1": 11, "do": 0, "doc": 6, "docstr": 6, "document": 6, "doe": [3, 4, 5], "domain": 11, "don": 8, "done": 2, "doubl": [6, 11], "down": 11, "download": 4, "downstream": 11, "drop": 6, "dropout": 6, "dst_type": 6, "dtype": [6, 11], "duplic": 6, "dure": [6, 11], "e": 6, "e2f1": 11, "each": [0, 1, 6], "eager": 2, "easi": [8, 11], "easili": 11, "edg": [0, 1, 2, 8], "edge_width": 0, "effect": 6, "egr1": 11, "either": [0, 1, 4, 6, 8], "element": [4, 11], "embed": [2, 6], "embryon": 11, "end": 6, "end_nois": 2, "enforc": 6, "engin": 0, "enough": 2, "enrich": 11, "ensur": 6, "entri": 6, "enumer": 6, "env": 6, "ep": [1, 8, 11], "epr": [1, 8, 11], "equal": 2, "equival": 6, "error": 6, "especi": 11, "estim": 8, "etc": [2, 6], "eval": 6, "eval_on_n_step": 2, "evalu": [1, 2, 6, 8, 11], "even": 8, "everi": [0, 2, 6], "exactli": 6, "exampl": [1, 2, 6, 8, 11], "except": [2, 6], "execut": [2, 6], "exist": [3, 4, 5, 6, 8], "exp_arrai": 2, "expect": [0, 2, 6, 11], "experess": 11, "experi": 11, "explan": 6, "explor": 0, "export": [0, 8, 11], "express": [2, 3, 5, 8, 11], "extra": 6, "extra_repr": 6, "extract": [8, 11], "extract_local_neighborhood": [0, 8, 11], "extract_node_2hop_neighborhood": 0, "extract_node_neighbor": 0, "extract_node_neighbors_as_indic": 0, "extract_node_sourc": 0, "extract_node_sources_as_indic": 0, "extract_node_target": 0, "extract_node_targets_as_indic": 0, "ezh2": 11, "f": 11, "facilit": 11, "fact": 11, "factor": [0, 2], "fairli": 11, "fals": [0, 2, 6], "fanci": 8, "fast": 8, "faster": 0, "favor": 6, "fbxo5": 11, "fcrl": 12, "featur": 2, "field": 6, "figur": 11, "file": [0, 8, 11], "file_path": 0, "fill": 8, "fill_": 6, "filter": 11, "find": 11, "finetun": 6, "finish": 11, "fire": 6, "first": [2, 4, 6, 11], "fit": 11, "float": [0, 2, 6], "float16": 6, "float64": 6, "floattensor": 2, "fn": 6, "focus": 8, "follow": 6, "form": [6, 11], "format": [0, 6, 11], "former": 6, "forward": [2, 6], "forward_pass": 2, "forward_pr": 6, "found": [6, 8, 11], "fraction": 11, "freez": 6, "from": [0, 2, 3, 4, 5, 6, 8, 11], "from_pandas_edgelist": 11, "fulli": 6, "fulltext": 5, "function": [0, 6, 8, 11], "further": 0, "futur": [6, 11], "g": [6, 11], "gan": 6, "gap": 8, "gene": [0, 1, 2, 3, 4, 5, 6, 8], "gene_group_dict": 11, "gene_nam": [0, 1, 2, 11], "gener": [0, 1, 8, 11, 12], "geo": 5, "get": 8, "get_adj": [2, 11], "get_buff": 6, "get_edgelist": 0, "get_extra_st": 6, "get_grn": [2, 8, 11], "get_paramet": 6, "get_submodul": 6, "get_swap_module_params_on_convers": 6, "get_vector": 11, "give": 11, "given": 6, "global": 6, "gm": 4, "gm10184": 11, "gm26448": 11, "gm44335": 11, "go": [2, 11], "good": 2, "gov": 5, "gpu": [6, 8, 11], "gpu1": 6, "grad": 6, "grad_input": 6, "grad_output": 6, "gradient": 6, "graph": 11, "green": 11, "grn": [1, 2, 8], "grnevalu": [2, 8, 11], "ground": [1, 2, 4, 8, 11], "ground_truth": 1, "group": 11, "gse121654": 5, "gsm3442026": 5, "gsm3442027": 5, "gsm3442030": 5, "gsm3442031": 5, "guarante": 6, "ha": [2, 5, 6, 11], "half": 6, "hammond": [5, 11, 12], "handl": 6, "hardwar": 11, "have": [0, 2, 3, 5, 6, 8, 11], "hdf5": [0, 8, 11], "heavi": 11, "help": 6, "here": [2, 5, 8, 11, 12], "hesc": 4, "hexb": 12, "hhep": 4, "hidden": 6, "hidden_dim": [2, 6], "high": 8, "hist": 11, "hist1h1a": 11, "hist1h1b": 11, "hist1h1d": 11, "hist1h2ac": 11, "hist1h2af": 11, "hist1h2ag": 11, "hist1h2ai": 11, "hist1h2ak": 11, "hist1h2bb": 11, "hist1h2bf": 11, "hist1h2bk": 11, "hist1h2bl": 11, "hist1h2bn": 11, "hist1h3h": 11, "hist1h4k": 11, "histon": 11, "hold": [0, 1], "hook": 6, "hop": [0, 11], "host": 6, "hour": 8, "how": [2, 6, 8], "howev": [6, 11], "html": 11, "http": [3, 4, 5], "hypothesi": 11, "i": [0, 1, 2, 3, 4, 5, 6, 8, 11], "id": 5, "idea": 2, "identifi": 2, "idx": 6, "ignor": 6, "ignore_w": 6, "illustract": 8, "immedi": 6, "immun": 5, "implement": [6, 8], "import": [5, 11], "improv": 2, "in_featur": 6, "includ": [0, 1, 6, 8, 11], "incompatible_kei": 6, "incomplet": 11, "increas": 11, "individu": 6, "infer": [1, 2, 4, 6], "inferred_adj": 11, "inform": [6, 11], "init": 6, "init_coef": [2, 6], "init_weight": 6, "initi": [2, 6], "injur": 5, "innov": 8, "inplac": 6, "input": [6, 11], "insight": 11, "inspect": 0, "instal": 11, "instanc": 6, "instead": 6, "institut": 3, "int": [0, 2, 6], "integ": [2, 6], "integr": 6, "interact": [8, 11], "interest": 11, "interfac": [0, 8], "interg": 2, "invalid": 6, "invok": 6, "ipu": 6, "issu": 11, "iter": [2, 6, 11], "its": [4, 6], "itself": 6, "j": [0, 6, 11], "join": 11, "jun": 11, "k": [0, 11], "kank3": 11, "keep": [8, 11], "keep_var": 6, "kei": 6, "kept": 0, "kernel_s": 6, "keyword": [0, 6], "klf6": 11, "kmean": 11, "knowledg": [2, 6], "kntc1": 11, "kwarg": [0, 6], "l": [4, 6], "l1": 2, "l2": 2, "label": [2, 11], "labels_": 11, "larg": [0, 2, 8], "larger": 11, "later": 0, "latest": 11, "latter": 6, "layer": [2, 6], "learn": 2, "least": 0, "left": [8, 11], "len": 11, "let": 6, "level": [0, 2, 8], "lifespan": 5, "lightlogg": 2, "like": [6, 8, 11], "line": 6, "linear": 6, "link": [2, 3, 4, 5, 8, 11], "list": [0, 1, 2, 4, 6, 8], "live": 6, "load": [0, 3, 4, 5, 6], "load_beelin": 11, "load_state_dict": 6, "local": [0, 6, 8], "lofgof": 4, "log": [2, 3, 5, 8, 11], "logger": 2, "longtensor": 2, "look": 6, "loss": 11, "lr_adj": 2, "lr_nn": 2, "m": 6, "machin": 11, "made": 6, "magnitud": 11, "mai": [0, 2, 6, 11], "make": [1, 6, 11], "male": [5, 11], "mani": [0, 11], "map": 6, "match": 6, "matix": 2, "matrix": [0, 1, 2, 6, 8, 11], "max": 11, "maxim": 2, "maz": 11, "mcm10": 11, "mcm3": 11, "mcm4": 11, "mcm5": 11, "mcm6": 11, "mcm7": 11, "mdc": 4, "meaning": 11, "mechan": 6, "mef2c": 11, "member": 6, "memo": 6, "memori": 6, "memory_format": 6, "mertk": 12, "mesc": [4, 11], "method": [0, 6, 8, 11], "metric": [1, 8, 11], "mhsc": 4, "mice": 11, "microglia": [3, 5, 7, 8, 11, 12], "mid": 8, "middl": 11, "might": 11, "min_count": 11, "mind": 11, "minim": 2, "minut": [8, 11], "miss": 6, "missing_kei": 6, "mitochondri": [3, 5], "mode": 6, "model": [2, 3, 5, 6, 11], "modif": 6, "modifi": 6, "modul": [6, 8], "more": [6, 8, 11], "most": [0, 2, 8, 11], "mous": [3, 5, 8, 11], "move": [6, 11], "mp": 2, "multi": 6, "multipli": 6, "must": 6, "n": [6, 11], "n_celltyp": 6, "n_cluster": 11, "n_gene": [2, 6], "n_ob": 11, "n_step": 2, "n_var": 11, "name": [0, 1, 2, 6, 8, 11], "named_buff": 6, "named_children": 6, "named_modul": 6, "named_paramet": 6, "namedtupl": 6, "natur": [3, 4], "ncbi": 5, "ndarrai": [0, 1, 2], "necessari": 4, "need": [0, 2, 6, 11], "neighbor": 0, "neighborhood": [0, 11], "nest": 6, "net": 6, "net_b": 6, "net_c": 6, "network": [0, 2, 4, 6], "networkx": 11, "neural": [2, 6], "new": 6, "nih": 5, "nlm": 5, "nn": 6, "no_grad": 6, "node": [0, 1], "node2vec": 11, "node_color_dict": 11, "node_embed": 11, "node_label": 11, "nois": [2, 6, 8], "noisi": 11, "non": [2, 3, 4, 5, 6], "non_block": 6, "none": [0, 2, 6], "norm": [2, 6], "note": [6, 11], "novel": 11, "now": [7, 8, 11], "np": [0, 1, 2, 11], "num_featur": 6, "num_walk": 11, "number": [0, 2, 6, 11], "numpi": [0, 1, 2, 4, 8, 11], "nx": 11, "nxg": 11, "o": 6, "ob": 11, "object": [0, 2, 3, 4, 5, 6, 8], "obtain": 2, "obviou": 11, "obvious": 11, "offici": 8, "often": [2, 8], "ofter": 2, "onc": 6, "one": [3, 6, 8, 11], "ones": 6, "onli": [0, 2, 4, 5, 6, 8, 11], "oper": 6, "optim": 6, "option": [0, 2, 6], "order": [1, 2, 6, 11], "ordereddict": 6, "org": 3, "other": [0, 6, 11], "otherwis": 6, "our": [2, 6, 8, 11], "out": [2, 6, 8, 11], "out_featur": 6, "output": [3, 5, 6], "over": [2, 6], "overridden": 6, "own": 6, "p100": 5, "p2ry12": 12, "packag": [0, 7, 8, 11], "panda": 0, "paper": [2, 3, 4, 5, 6, 7, 8, 11], "param": [4, 6], "paramet": [0, 1, 2, 3, 4, 5, 6], "parent": [3, 4, 5], "part": 6, "particular": 6, "partit": [2, 11], "pass": [0, 6], "path": [0, 3, 4, 5, 6], "pcna": 11, "percentag": 6, "perform": [6, 8, 11], "persist": 6, "pick": 11, "pickl": 6, "picklabl": 6, "pin": 6, "pip": 8, "place": 6, "plai": 11, "pleas": [2, 6, 8], "plot": [0, 2, 8], "plot_engin": 0, "plot_pyvi": 0, "plu": 3, "point": [0, 2, 6], "polr3b": 11, "posit": 6, "possibl": [6, 11], "possibli": 6, "post": 6, "pre": 6, "predict": [0, 8], "prefer": [0, 11], "prefix": 6, "prepend": 6, "preprocess": [8, 11], "preserv": 6, "previou": [8, 11], "print": [6, 11], "probabilist": [2, 6, 8], "probabl": [0, 2], "process": [2, 6, 8, 11], "progress": 11, "project": 11, "properti": 6, "propos": [8, 11], "pros1": 12, "provid": [0, 2, 3, 4, 5, 6, 7, 8, 11, 12], "public": 11, "put": 11, "pypi": 8, "python": 11, "pyvi": [0, 11], "qualifi": 6, "queri": [5, 6], "quickli": 7, "rad51": 11, "rad54b": 11, "rais": 6, "random": 2, "random_st": 11, "rang": [8, 11], "rapidli": 8, "rate": 2, "ratio": 8, "raw": [3, 5, 11], "rbbp4": 11, "rd": 11, "rd_trainer": 11, "re": 6, "reachabl": 0, "read": [2, 11], "read_hdf5": [0, 8, 11], "reason": 6, "recal": 11, "receiv": 6, "recip": 6, "recommend": [2, 11], "record": 6, "recovered_grn": 11, "recurs": 6, "red": 11, "reduc": 0, "refer": [2, 6, 8], "referenc": 6, "regardless": 6, "regdiffus": [0, 1, 2, 7, 11, 12], "regdiffusiontrain": [8, 11], "region": [8, 11], "regist": 6, "register_backward_hook": 6, "register_buff": 6, "register_forward_hook": 6, "register_forward_pre_hook": 6, "register_full_backward_hook": 6, "register_full_backward_pre_hook": 6, "register_load_state_dict_post_hook": 6, "register_modul": 6, "register_module_forward_hook": 6, "register_module_forward_pre_hook": 6, "register_module_full_backward_hook": 6, "register_module_full_backward_pre_hook": 6, "register_paramet": 6, "register_state_dict_pre_hook": 6, "regul": [6, 11], "regular": 2, "regulatori": [0, 2, 4, 8, 11], "rel": 11, "relat": 11, "relationship": [2, 8, 11], "releas": 6, "reload": 8, "remov": [2, 3, 5, 6, 11], "removablehandl": 6, "remove_dupl": 6, "repair": 11, "replic": 11, "repres": 11, "represent": 6, "requir": [0, 6], "requires_grad": 6, "requires_grad_": 6, "reset": 6, "resolv": 6, "respect": 6, "rest": 2, "result": 6, "return": [4, 6], "reveal": 5, "ribosom": [3, 5], "right": [7, 8, 11], "rna": [5, 8], "rnaseq": 2, "role": 11, "roughli": 8, "row": [1, 2, 3, 4, 5, 11], "rrm2": 11, "run": [2, 6, 7, 11], "running_mean": 6, "running_var": 6, "runtim": 6, "runtimeerror": 6, "s1074": 5, "s41586": 3, "s41592": 4, "sai": 6, "sall1": 12, "same": [1, 2, 6, 8, 11], "sampl": 7, "save": [0, 2, 3, 4, 5, 6, 8, 11], "scale": [2, 8], "scanpi": 4, "scp795": 3, "search": 0, "second": [4, 11], "see": [2, 6, 11], "seed": [2, 11], "select": [0, 3, 5], "self": 6, "sens": 11, "sepcifi": 2, "seq": [4, 8], "sequenc": 5, "sequenti": 6, "serial": 6, "set": [0, 2, 4, 6, 8, 11], "set_extra_st": 6, "set_to_non": 6, "sever": 6, "shallow": 6, "shape": 0, "share_memori": 6, "share_memory_": 6, "shinygo": 11, "should": [2, 6, 11], "show": [6, 11], "side": [8, 11], "siglech": 12, "signatur": 6, "silent": 6, "similar": [0, 6, 8, 11], "similarli": 6, "simpl": [6, 11], "simpli": [0, 8, 11], "sin3a": 11, "sinc": [6, 11], "singl": [0, 2, 3, 4, 5, 6, 7, 8, 11], "single_cel": 3, "singlecel": 3, "sit": 11, "situat": 2, "size": [2, 6, 11], "skip": 6, "sklearn": 11, "slightli": 0, "small": 11, "smaller": [0, 2], "so": [6, 11], "some": [6, 7, 11, 12], "someth": 6, "sort": 0, "sourc": [0, 1, 2, 3, 4, 5, 6], "space": 0, "spars": [0, 2], "sparse_loss_coef": 2, "specifi": [0, 6], "speed": [2, 11], "squar": 0, "standard": 11, "start": 8, "start_nois": 2, "state": [5, 6], "state_dict": 6, "statist": 11, "stem": 11, "step": [2, 6], "still": 8, "storag": 6, "store": 6, "str": [0, 2, 3, 4, 5, 6, 11], "straightforward": 8, "strand": 11, "strict": 6, "strictli": 6, "stride": 6, "string": [4, 6, 11], "strong": [2, 11], "strongest": 11, "studi": [3, 5, 11], "subclass": 6, "subdirectori": [3, 4, 5], "submodul": 6, "subsequ": 6, "subset": 11, "suffici": 11, "suggest": 11, "summari": 3, "support": [1, 8, 11], "sure": 1, "switch": 2, "t": [2, 6, 8, 11], "tabl": [2, 11], "taf1": 11, "take": [6, 8], "target": [0, 1, 6], "task": 11, "tcf12": 11, "technic": 6, "ten": 8, "tensor": [2, 6], "test": 11, "tet1": 11, "tf": [0, 11], "tf_name": [0, 2], "than": [0, 8], "thei": [6, 11], "them": [2, 6], "therefor": 11, "thi": [0, 2, 5, 6, 7, 8, 11], "thing": 0, "those": 8, "thousand": 8, "through": [2, 11], "throughout": 5, "throw": 6, "thrown": 6, "time": [2, 6, 11], "time_dim": [2, 6], "timeless": 11, "tmem119": 12, "to_empti": 6, "to_hdf5": [0, 8, 11], "togeth": 11, "too": 11, "tool": 8, "top": [0, 8, 11], "top2a": 11, "top_gene_percentil": [0, 2, 11], "topolog": 11, "torch": [2, 6], "torch_doctest_cuda1": 6, "total": [2, 11], "train": [2, 6, 8, 11], "train_loss": 2, "train_split": 2, "train_split_se": 2, "trainer": [2, 11], "training_curv": 2, "transcript": [0, 2], "transcriptom": [3, 4], "transform": [2, 3, 5, 8, 11], "transit": 6, "traves": 0, "trem2": 12, "tri": [6, 8], "true": 6, "truth": [1, 2, 4, 8, 11], "tupl": [4, 6, 11], "tutori": [8, 11], "two": [0, 4, 6, 7, 11], "type": [2, 3, 4, 6], "typic": 6, "u": 11, "uhrf1": 11, "unchang": 6, "undefin": 6, "under": [3, 4, 5, 6, 8], "underli": 8, "unexpect": 6, "unexpected_kei": 6, "ung": 11, "unless": 6, "up": 11, "updat": 6, "us": [0, 2, 3, 6, 7, 8, 11, 12], "user": 6, "util": 6, "vae": 8, "val": 2, "valid": 11, "valu": [0, 2, 6, 8], "var": 6, "var_nam": 11, "vari": 11, "veri": [0, 8, 11], "verifi": 8, "version": [0, 6], "vi": [0, 11], "view": [6, 11], "vision": 11, "visual": [0, 8], "visualize_local_neighborhood": [0, 8, 11], "wai": [0, 8, 11], "walk_length": 11, "want": [2, 11], "we": [0, 2, 3, 5, 6, 7, 8, 11, 12], "weak": 2, "weight": [0, 6], "weight_decay_adj": 2, "weight_decay_nn": 2, "well": [2, 6, 8], "what": 8, "when": [0, 2, 6, 8, 11], "where": [2, 3, 5, 11], "whether": [0, 2, 6], "which": [0, 2, 6], "while": 6, "whole": 6, "whose": [0, 6, 11], "wide": 11, "width": 0, "window": 11, "with_kwarg": 6, "within": [6, 11], "without": 6, "won": [6, 11], "work": [2, 6, 8, 11], "worker": [0, 11], "would": [6, 8], "wrap": 6, "wv": 11, "www": [3, 4, 5], "x": [6, 11], "x_0": 2, "xdoctest": 6, "xpu": 6, "yellow": 11, "yield": [6, 11], "you": [0, 2, 6, 7, 8, 11], "your": [0, 2, 6, 8, 11], "z": 3, "zero": [0, 2, 3, 5, 6, 11], "zero_grad": 6, "zfp367": 11, "zip": 11}, "titles": ["GRN", "GRNEvaluator", "RegDiffusionTrainer", "regdiffusion.data.load_atlas_microglia", "regdiffusion.data.load_beeline", "regdiffusion.data.load_hammond_microglia", "RegDiffusion", "data module", "RegDiffusion", "main Interface", "models", "Get Started", "Additional local networks"], "titleterms": {"1": 11, "2": 11, "3": 11, "addit": 12, "around": 11, "citat": 8, "cluster": 11, "data": [3, 4, 5, 7, 11], "discov": 11, "gene": 11, "get": 11, "grn": [0, 11], "grnevalu": 1, "infer": [8, 11], "inspect": 11, "instal": 8, "interfac": 9, "interpret": 11, "load": 11, "load_atlas_microglia": 3, "load_beelin": 4, "load_hammond_microglia": 5, "local": [11, 12], "main": 9, "model": [8, 10], "modul": 7, "network": [8, 11, 12], "node": 11, "object": 11, "option": 11, "particular": 11, "quick": 8, "regdiffus": [3, 4, 5, 6, 8], "regdiffusiontrain": 2, "requir": 11, "result": 11, "select": 11, "speed": 8, "start": 11, "step": 11, "structur": 8, "target": 11, "tour": 8, "understand": 8, "visual": 11}}) \ No newline at end of file +Search.setIndex({"alltitles": {"(Optional) Step 3. Node clustering": [[11, "optional-step-3-node-clustering"]], "Additional local networks": [[12, "additional-local-networks"]], "Citation": [[8, "citation"]], "Data Loading": [[11, "data-loading"]], "GRN": [[0, "grn"]], "GRN Inference": [[11, "grn-inference"]], "GRN object": [[11, "grn-object"]], "GRNEvaluator": [[1, "grnevaluator"]], "Get Started": [[11, "get-started"]], "Inference Speed": [[8, "inference-speed"]], "Inspecting the local network around particular genes": [[11, "inspecting-the-local-network-around-particular-genes"]], "Installation": [[8, "installation"]], "Model Structure": [[8, "model-structure"]], "Quick Tour": [[8, "quick-tour"]], "RegDiffusion": [[6, "regdiffusion"], [8, "regdiffusion"]], "RegDiffusionTrainer": [[2, "regdiffusiontrainer"]], "Requirements": [[11, "requirements"]], "Result Interpretation": [[11, "result-interpretation"]], "Step 1. Discover target genes": [[11, "step-1-discover-target-genes"]], "Step 2. Visualize the local network around the selected gene": [[11, "step-2-visualize-the-local-network-around-the-selected-gene"]], "Understanding the Inferred Networks": [[8, "understanding-the-inferred-networks"]], "data module": [[7, "data-module"]], "main Interface": [[9, "main-interface"]], "models": [[10, "models"]], "regdiffusion.data.load_atlas_microglia": [[3, "regdiffusion-data-load-atlas-microglia"]], "regdiffusion.data.load_beeline": [[4, "regdiffusion-data-load-beeline"]], "regdiffusion.data.load_hammond_microglia": [[5, "regdiffusion-data-load-hammond-microglia"]]}, "docnames": ["_autosummary/regdiffusion.GRN", "_autosummary/regdiffusion.GRNEvaluator", "_autosummary/regdiffusion.RegDiffusionTrainer", "_autosummary/regdiffusion.data.load_atlas_microglia", "_autosummary/regdiffusion.data.load_beeline", "_autosummary/regdiffusion.data.load_hammond_microglia", "_autosummary/regdiffusion.models.RegDiffusion", "data_module", "index", "main_api", "models", "quick_tour", "supplements"], "envversion": {"sphinx": 61, "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, "sphinx.ext.viewcode": 1}, "filenames": ["_autosummary/regdiffusion.GRN.rst", "_autosummary/regdiffusion.GRNEvaluator.rst", "_autosummary/regdiffusion.RegDiffusionTrainer.rst", "_autosummary/regdiffusion.data.load_atlas_microglia.rst", "_autosummary/regdiffusion.data.load_beeline.rst", "_autosummary/regdiffusion.data.load_hammond_microglia.rst", "_autosummary/regdiffusion.models.RegDiffusion.rst", "data_module.rst", "index.rst", "main_api.rst", "models.rst", "quick_tour.md", "supplements.rst"], "indexentries": {"add_module() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.add_module", false]], "apply() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.apply", false]], "bfloat16() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.bfloat16", false]], "buffers() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.buffers", false]], "children() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.children", false]], "compile() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.compile", false]], "cpu() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.cpu", false]], "cuda() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.cuda", false]], "double() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.double", false]], "eval() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.eval", false]], "extra_repr() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.extra_repr", false]], "extract_local_neighborhood() (regdiffusion.grn method)": [[0, "regdiffusion.GRN.extract_local_neighborhood", false]], "extract_node_neighbors() (regdiffusion.grn method)": [[0, "regdiffusion.GRN.extract_node_neighbors", false]], "extract_node_neighbors_as_indices() (regdiffusion.grn method)": [[0, "regdiffusion.GRN.extract_node_neighbors_as_indices", false]], "extract_node_sources() (regdiffusion.grn method)": [[0, "regdiffusion.GRN.extract_node_sources", false]], "extract_node_sources_as_indices() (regdiffusion.grn method)": [[0, "regdiffusion.GRN.extract_node_sources_as_indices", false]], "extract_node_targets() (regdiffusion.grn method)": [[0, "regdiffusion.GRN.extract_node_targets", false]], "extract_node_targets_as_indices() (regdiffusion.grn method)": [[0, "regdiffusion.GRN.extract_node_targets_as_indices", false]], "float() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.float", false]], "forward() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.forward", false]], "forward_pass() (regdiffusion.regdiffusiontrainer method)": [[2, "regdiffusion.RegDiffusionTrainer.forward_pass", false]], "get_adj() (regdiffusion.regdiffusiontrainer method)": [[2, "regdiffusion.RegDiffusionTrainer.get_adj", false]], "get_buffer() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.get_buffer", false]], "get_edgelist() (regdiffusion.grn method)": [[0, "regdiffusion.GRN.get_edgelist", false]], "get_extra_state() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.get_extra_state", false]], "get_grn() (regdiffusion.regdiffusiontrainer method)": [[2, "regdiffusion.RegDiffusionTrainer.get_grn", false]], "get_parameter() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.get_parameter", false]], "get_submodule() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.get_submodule", false]], "grn (class in regdiffusion)": [[0, "regdiffusion.GRN", false]], "grnevaluator (class in regdiffusion)": [[1, "regdiffusion.GRNEvaluator", false]], "half() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.half", false]], "ipu() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.ipu", false]], "load_atlas_microglia() (in module regdiffusion.data)": [[3, "regdiffusion.data.load_atlas_microglia", false]], "load_beeline() (in module regdiffusion.data)": [[4, "regdiffusion.data.load_beeline", false]], "load_hammond_microglia() (in module regdiffusion.data)": [[5, "regdiffusion.data.load_hammond_microglia", false]], "load_state_dict() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.load_state_dict", false]], "modules() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.modules", false]], "named_buffers() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.named_buffers", false]], "named_children() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.named_children", false]], "named_modules() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.named_modules", false]], "named_parameters() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.named_parameters", false]], "parameters() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.parameters", false]], "regdiffusion (class in regdiffusion.models)": [[6, "regdiffusion.models.RegDiffusion", false]], "regdiffusiontrainer (class in regdiffusion)": [[2, "regdiffusion.RegDiffusionTrainer", false]], "register_backward_hook() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.register_backward_hook", false]], "register_buffer() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.register_buffer", false]], "register_forward_hook() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.register_forward_hook", false]], "register_forward_pre_hook() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.register_forward_pre_hook", false]], "register_full_backward_hook() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.register_full_backward_hook", false]], "register_full_backward_pre_hook() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.register_full_backward_pre_hook", false]], "register_load_state_dict_post_hook() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.register_load_state_dict_post_hook", false]], "register_module() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.register_module", false]], "register_parameter() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.register_parameter", false]], "register_state_dict_pre_hook() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.register_state_dict_pre_hook", false]], "requires_grad_() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.requires_grad_", false]], "set_extra_state() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.set_extra_state", false]], "share_memory() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.share_memory", false]], "state_dict() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.state_dict", false]], "to() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.to", false]], "to_empty() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.to_empty", false]], "to_hdf5() (regdiffusion.grn method)": [[0, "regdiffusion.GRN.to_hdf5", false]], "train() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.train", false]], "train() (regdiffusion.regdiffusiontrainer method)": [[2, "regdiffusion.RegDiffusionTrainer.train", false]], "training_curves() (regdiffusion.regdiffusiontrainer method)": [[2, "regdiffusion.RegDiffusionTrainer.training_curves", false]], "type() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.type", false]], "visualize_local_neighborhood() (regdiffusion.grn method)": [[0, "regdiffusion.GRN.visualize_local_neighborhood", false]], "xpu() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.xpu", false]], "zero_grad() (regdiffusion.models.regdiffusion method)": [[6, "regdiffusion.models.RegDiffusion.zero_grad", false]]}, "objects": {"regdiffusion": [[0, 0, 1, "", "GRN"], [1, 0, 1, "", "GRNEvaluator"], [2, 0, 1, "", "RegDiffusionTrainer"]], "regdiffusion.GRN": [[0, 1, 1, "", "extract_local_neighborhood"], [0, 1, 1, "", "extract_node_neighbors"], [0, 1, 1, "", "extract_node_neighbors_as_indices"], [0, 1, 1, "", "extract_node_sources"], [0, 1, 1, "", "extract_node_sources_as_indices"], [0, 1, 1, "", "extract_node_targets"], [0, 1, 1, "", "extract_node_targets_as_indices"], [0, 1, 1, "", "get_edgelist"], [0, 1, 1, "", "to_hdf5"], [0, 1, 1, "", "visualize_local_neighborhood"]], "regdiffusion.RegDiffusionTrainer": [[2, 1, 1, "", "forward_pass"], [2, 1, 1, "", "get_adj"], [2, 1, 1, "", "get_grn"], [2, 1, 1, "", "train"], [2, 1, 1, "", "training_curves"]], "regdiffusion.data": [[3, 2, 1, "", "load_atlas_microglia"], [4, 2, 1, "", "load_beeline"], [5, 2, 1, "", "load_hammond_microglia"]], "regdiffusion.models": [[6, 0, 1, "", "RegDiffusion"]], "regdiffusion.models.RegDiffusion": [[6, 1, 1, "", "add_module"], [6, 1, 1, "", "apply"], [6, 1, 1, "", "bfloat16"], [6, 1, 1, "", "buffers"], [6, 1, 1, "", "children"], [6, 1, 1, "", "compile"], [6, 1, 1, "", "cpu"], [6, 1, 1, "", "cuda"], [6, 1, 1, "", "double"], [6, 1, 1, "", "eval"], [6, 1, 1, "", "extra_repr"], [6, 1, 1, "", "float"], [6, 1, 1, "", "forward"], [6, 1, 1, "", "get_buffer"], [6, 1, 1, "", "get_extra_state"], [6, 1, 1, "", "get_parameter"], [6, 1, 1, "", "get_submodule"], [6, 1, 1, "", "half"], [6, 1, 1, "", "ipu"], [6, 1, 1, "", "load_state_dict"], [6, 1, 1, "", "modules"], [6, 1, 1, "", "named_buffers"], [6, 1, 1, "", "named_children"], [6, 1, 1, "", "named_modules"], [6, 1, 1, "", "named_parameters"], [6, 1, 1, "", "parameters"], [6, 1, 1, "", "register_backward_hook"], [6, 1, 1, "", "register_buffer"], [6, 1, 1, "", "register_forward_hook"], [6, 1, 1, "", "register_forward_pre_hook"], [6, 1, 1, "", "register_full_backward_hook"], [6, 1, 1, "", "register_full_backward_pre_hook"], [6, 1, 1, "", "register_load_state_dict_post_hook"], [6, 1, 1, "", "register_module"], [6, 1, 1, "", "register_parameter"], [6, 1, 1, "", "register_state_dict_pre_hook"], [6, 1, 1, "", "requires_grad_"], [6, 1, 1, "", "set_extra_state"], [6, 1, 1, "", "share_memory"], [6, 1, 1, "", "state_dict"], [6, 1, 1, "", "to"], [6, 1, 1, "", "to_empty"], [6, 1, 1, "", "train"], [6, 1, 1, "", "type"], [6, 1, 1, "", "xpu"], [6, 1, 1, "", "zero_grad"]]}, "objnames": {"0": ["py", "class", "Python class"], "1": ["py", "method", "Python method"], "2": ["py", "function", "Python function"]}, "objtypes": {"0": "py:class", "1": "py:method", "2": "py:function"}, "terms": {"": [0, 2, 6, 8, 11], "0": [0, 2, 5, 6, 11], "00": 11, "000": [2, 8, 11], "0001": 2, "001": 2, "01": 2, "019": 4, "02": 2, "021": 3, "03220": 3, "051973534439936624": 11, "06": 11, "0690": 4, "1": [0, 2, 5, 6], "10": [2, 8, 11], "100": [2, 6, 11], "1000": [2, 11], "1000_chip": 4, "1000_lofgof": 4, "1000_non": 4, "1000_string": [4, 11], "1150": 6, "12": 8, "123": [2, 11], "128": 2, "14": 11, "143": 11, "15": 8, "16": [2, 6], "1620": 11, "18": 5, "1870197171394254": 11, "1913": 6, "1914": 6, "1d": [0, 1, 2], "1l": 6, "2": [0, 5, 6], "20": [0, 11], "200": [6, 11], "2023": 11, "20l": 6, "2324": 6, "2325": 6, "2382": 6, "25": 2, "2d": [0, 1, 2], "3": [0, 2, 4, 5, 6, 8], "30": 11, "304": 11, "30485": 5, "33": 6, "3420": 6, "3741": 6, "4": [2, 5, 6, 8, 11], "40": 11, "421": 11, "4439084980230183": 11, "4443": 6, "4d": 6, "5": [0, 2, 6, 8], "5000": 2, "500_chip": 4, "500_lofgof": 4, "500_non": 4, "500_string": 4, "5112": 6, "5113": 6, "53it": 11, "5593": 6, "5l": 6, "6": 4, "6114549433214784": 11, "6122": 6, "620": 11, "64": [2, 11], "7": 4, "755": 11, "7613": 5, "8": 11, "80": 11, "A": [0, 1, 2, 3, 4, 6], "And": 6, "By": [2, 11], "For": [1, 2, 6, 8, 11], "If": [0, 2, 3, 4, 5, 6, 11], "In": [0, 6, 8, 11], "It": [0, 2, 6, 8, 11], "Its": 6, "The": [0, 2, 3, 4, 5, 6, 8, 11], "There": 11, "These": 6, "To": [0, 6], "__call__": 6, "a100": [8, 11], "abl": 11, "abov": 6, "absolut": 0, "abtb1": 11, "acc": 5, "acceler": 11, "accept": 6, "access": [2, 5, 6, 7, 8], "achiev": 6, "ad": [2, 6, 8, 11], "add": 6, "add_modul": 6, "addit": 6, "adj": [2, 11], "adj_chang": 2, "adj_dropout": [2, 6], "adj_matrix": [0, 11], "adj_tabl": 11, "adjac": [0, 1, 2, 4, 6, 8, 11], "adult": [5, 11], "affect": 6, "after": [6, 8], "afterward": [6, 11], "again": 11, "against": 6, "ai": 11, "algorithm": [4, 8], "alia": 6, "all": [0, 2, 3, 5, 6, 11], "allow": 6, "alongsid": 6, "alreadi": [5, 6], "also": [2, 3, 5, 6, 8, 11], "although": 6, "alwai": 6, "always_cal": 6, "among": [4, 11], "amount": 11, "an": [1, 2, 3, 4, 5, 6, 8, 11], "analys": 11, "analysi": [8, 11], "analyz": [0, 8], "ani": [6, 11], "anndata": [3, 4, 5, 11], "anoth": 11, "appl": 2, "appli": [6, 11], "ar": [0, 2, 3, 5, 6, 8, 11], "architectur": [2, 6], "arg": [0, 6], "argmax": 11, "argument": [0, 6], "around": 0, "arrai": [0, 1, 2, 4, 8, 11], "articl": [3, 4], "as_spars": [0, 11], "assign": [6, 11], "associ": 6, "asynchron": 6, "atf3": 11, "atf4": 11, "atla": [3, 11], "attribut": 6, "attributeerror": 6, "aupr": [1, 8, 11], "auprr": [1, 11], "auroc": [1, 8, 11], "autograd": 6, "automat": 11, "avaiabl": 11, "avail": [2, 4, 8], "averag": [6, 11], "avoid": 6, "b": 1, "back": 2, "backward": 6, "backward_pr": 6, "bar": 11, "bard1": 11, "base": [2, 6, 8, 11, 12], "batch": 2, "batch_siz": 2, "batch_word": 11, "batchnorm": 6, "beelin": [4, 7, 8, 11], "been": [2, 5, 11], "befor": [2, 6], "behavior": 6, "being": 6, "believ": 11, "below": [0, 6, 11], "benchmark": [4, 7, 8, 11], "benchmark_data": [4, 11], "benchmark_set": [4, 11], "beta": 2, "better": 11, "between": [0, 6, 11], "beyond": 2, "bfloat16": 6, "bia": 6, "bidirect": 11, "biolog": [8, 11], "bipartisan": 11, "bl_dt": 11, "bl_gt": 11, "bool": [0, 6], "boolean": 2, "both": [6, 11], "bound": [6, 11], "brain": 5, "brca1": 11, "break": [6, 11], "broad": 3, "broadinstitut": 3, "buf": 6, "buffer": 6, "build": 6, "c": [1, 11], "calcul": 0, "call": [6, 11], "callabl": 6, "caller": 6, "can": [0, 2, 6, 7, 8, 11], "capabl": [8, 11], "card": [8, 11], "care": [6, 8], "case": [0, 2, 11], "cast": 6, "cdoubl": 6, "cell": [2, 3, 4, 5, 6, 7, 8, 11], "cell_typ": [2, 11], "cell_type_index": 11, "celltyp": 6, "celltype_dim": [2, 6], "cerebellar": 3, "cerebellum": [3, 11], "certain": 6, "cgi": 5, "chang": [2, 5, 6, 11], "channels_last": 6, "check": [2, 6, 8, 11], "child": 6, "children": 6, "chip": [2, 4], "choos": [0, 4], "cite": 8, "class": [0, 1, 2, 6, 8], "clear": 6, "clearli": 11, "close": 11, "cloud": 11, "cluster_id": 11, "cluster_nod": 11, "coef": 2, "coeffic": 2, "coeffici": 6, "column": [0, 2, 3, 4, 5, 11], "com": [3, 4, 5], "come": [0, 8, 11], "common": 8, "companion": 8, "compar": 11, "comparison": 6, "compat": 6, "compil": [2, 6], "complet": [5, 11], "complex": [5, 6], "complex128": 6, "compon": 8, "compos": 6, "comprehens": 3, "comput": 6, "concern": 0, "concurr": 0, "confid": 11, "confus": 6, "connect": 0, "consid": [0, 6, 8, 11], "consist": [4, 6, 8], "construct": 6, "contain": [4, 6, 8], "context": 6, "continu": 8, "contrast": 8, "control": 2, "conv": 6, "conv2d": 6, "conv4": 6, "conv5": 6, "converg": [2, 8, 11], "convert": [2, 6], "copi": 6, "core": [8, 11], "correctli": 6, "correspond": [0, 6, 8], "cortex": 3, "could": 8, "count": [3, 11], "cpu": [2, 6, 8], "creat": [0, 3, 4, 5, 6], "ct": 6, "cuda": [2, 6, 11], "current": [1, 6], "curv": 2, "custom": 6, "cutoff": 0, "cx3cr1": 12, "data": [0, 2, 8], "data_dir": [3, 4, 5], "datafram": 0, "dataset": [2, 4, 5, 7, 8, 11, 12], "datatyp": 6, "def": 6, "default": [0, 2, 6, 11], "defin": [0, 2, 3, 6, 11], "degre": 6, "dek": 11, "demo_mesc_grn": 11, "depend": 11, "deprec": 6, "descend": 6, "design": [6, 8], "desir": [6, 11], "desktop": 11, "destin": 6, "detach": 6, "detail": [2, 6, 8], "determinist": 6, "devic": [2, 6, 8, 11], "diagram": 6, "dict": [0, 6, 11], "dictionari": [0, 6], "did": [8, 11], "differ": [0, 2, 6], "difficult": 8, "diffus": [2, 6, 8, 11], "dimens": [2, 6, 11], "direct": [0, 6], "directori": [3, 4, 5], "disabl": 6, "distribut": 11, "dna": 11, "dnmt1": 11, "do": 0, "doc": 6, "docstr": 6, "document": 6, "doe": [3, 4, 5], "domain": 11, "don": 8, "done": 2, "doubl": [6, 11], "down": 11, "download": 4, "downstream": 11, "drop": 6, "dropout": 6, "dst_type": 6, "dtype": [6, 11], "duplic": 6, "dure": [6, 11], "e": 6, "e2f1": 11, "each": [0, 1, 6], "eager": 2, "easi": [8, 11], "easili": 11, "edg": [0, 1, 2, 8], "edge_width": 0, "effect": 6, "egr1": 11, "either": [0, 1, 4, 6, 8], "element": [4, 11], "embed": [2, 6], "embryon": 11, "end": 6, "end_nois": 2, "enforc": 6, "engin": 0, "enough": 2, "enrich": 11, "ensur": 6, "entri": 6, "enumer": 6, "env": 6, "ep": [1, 8, 11], "epr": [1, 8, 11], "equal": 2, "equival": 6, "error": 6, "especi": 11, "estim": 8, "etc": [2, 6], "eval": 6, "eval_on_n_step": 2, "evalu": [1, 2, 6, 8, 11], "even": 8, "everi": [0, 2, 6], "exactli": 6, "exampl": [1, 2, 6, 8, 11], "except": [2, 6], "execut": [2, 6], "exist": [3, 4, 5, 6, 8], "exp_arrai": 2, "expect": [0, 2, 6, 11], "experess": 11, "experi": 11, "explan": 6, "explor": 0, "export": [0, 8, 11], "express": [2, 3, 5, 8, 11], "extra": 6, "extra_repr": 6, "extract": [8, 11], "extract_local_neighborhood": [0, 8, 11], "extract_node_2hop_neighborhood": 0, "extract_node_neighbor": 0, "extract_node_neighbors_as_indic": 0, "extract_node_sourc": 0, "extract_node_sources_as_indic": 0, "extract_node_target": 0, "extract_node_targets_as_indic": 0, "ezh2": 11, "f": 11, "facilit": 11, "fact": 11, "factor": [0, 2], "fairli": 11, "fals": [0, 2, 6], "fanci": 8, "fast": 8, "faster": 0, "favor": 6, "fbxo5": 11, "fcrl": 12, "featur": 2, "field": 6, "figur": 11, "file": [0, 8, 11], "file_path": 0, "fill": 8, "fill_": 6, "filter": 11, "find": 11, "finetun": 6, "finish": 11, "fire": 6, "first": [2, 4, 6, 11], "fit": 11, "float": [0, 2, 6], "float16": 6, "float64": 6, "floattensor": 2, "fn": 6, "focus": 8, "follow": 6, "form": [6, 11], "format": [0, 6, 11], "former": 6, "forward": [2, 6], "forward_pass": 2, "forward_pr": 6, "found": [6, 8, 11], "fraction": 11, "freez": 6, "from": [0, 2, 3, 4, 5, 6, 8, 11], "from_pandas_edgelist": 11, "fulli": 6, "fulltext": 5, "function": [0, 6, 8, 11], "further": 0, "futur": [6, 11], "g": [6, 11], "gan": 6, "gap": 8, "gene": [0, 1, 2, 3, 4, 5, 6, 8], "gene_group_dict": 11, "gene_nam": [0, 1, 2, 11], "gener": [0, 1, 8, 11, 12], "geo": 5, "get": 8, "get_adj": [2, 11], "get_buff": 6, "get_edgelist": 0, "get_extra_st": 6, "get_grn": [2, 8, 11], "get_paramet": 6, "get_submodul": 6, "get_swap_module_params_on_convers": 6, "get_vector": 11, "give": 11, "given": 6, "global": 6, "gm": 4, "gm10184": 11, "gm26448": 11, "gm44335": 11, "go": [2, 11], "good": 2, "gov": 5, "gpu": [6, 8, 11], "gpu1": 6, "grad": 6, "grad_input": 6, "grad_output": 6, "gradient": 6, "graph": 11, "grn": [1, 2, 8], "grnevalu": [2, 8, 11], "ground": [1, 2, 4, 8, 11], "ground_truth": 1, "group": 11, "gse121654": 5, "gsm3442026": 5, "gsm3442027": 5, "gsm3442030": 5, "gsm3442031": 5, "guarante": 6, "ha": [2, 5, 6, 11], "half": 6, "hammond": [5, 11, 12], "handl": 6, "hardwar": 11, "have": [0, 2, 3, 5, 6, 8, 11], "hdf5": [0, 8, 11], "heavi": 11, "help": 6, "here": [2, 5, 8, 11, 12], "hesc": 4, "hexb": 12, "hhep": 4, "hidden": 6, "hidden_dim": [2, 6], "high": 8, "hist": 11, "hist1h1a": 11, "hist1h1b": 11, "hist1h1d": 11, "hist1h2ac": 11, "hist1h2af": 11, "hist1h2ag": 11, "hist1h2ai": 11, "hist1h2ak": 11, "hist1h2bb": 11, "hist1h2bf": 11, "hist1h2bk": 11, "hist1h2bl": 11, "hist1h2bn": 11, "hist1h3h": 11, "hist1h4k": 11, "histon": 11, "hold": [0, 1], "hook": 6, "hop": [0, 11], "host": 6, "hour": 8, "how": [2, 6, 8], "howev": [6, 11], "html": 11, "http": [3, 4, 5], "hypothesi": 11, "i": [0, 1, 2, 3, 4, 5, 6, 8, 11], "id": 5, "idea": 2, "identifi": 2, "idx": 6, "ignor": 6, "ignore_w": 6, "illustract": 8, "immedi": 6, "immun": 5, "implement": [6, 8], "import": [5, 11], "improv": 2, "in_featur": 6, "includ": [0, 1, 6, 8, 11], "incompatible_kei": 6, "incomplet": 11, "increas": 11, "individu": 6, "infer": [1, 2, 4, 6], "inferred_adj": 11, "inform": [6, 11], "init": 6, "init_coef": [2, 6], "init_weight": 6, "initi": [2, 6], "injur": 5, "innov": 8, "inplac": 6, "input": [6, 11], "insight": 11, "inspect": 0, "instal": 11, "instanc": 6, "instead": 6, "institut": 3, "int": [0, 2, 6], "integ": [2, 6], "integr": 6, "interact": [8, 11], "interest": 11, "interfac": [0, 8], "interg": 2, "invalid": 6, "invok": 6, "ipu": 6, "issu": 11, "iter": [2, 6, 11], "its": [4, 6], "itself": 6, "j": [0, 6, 11], "join": 11, "jun": 11, "k": [0, 11], "kank3": 11, "keep": [8, 11], "keep_var": 6, "kei": 6, "kept": 0, "kernel_s": 6, "keyword": [0, 6], "klf6": 11, "kmean": 11, "knowledg": [2, 6], "kntc1": 11, "kwarg": [0, 6], "l": [4, 6], "l1": 2, "l2": 2, "label": [2, 11], "labels_": 11, "larg": [0, 2, 8], "larger": 11, "later": 0, "latest": 11, "latter": 6, "layer": [2, 6], "learn": 2, "least": 0, "left": [8, 11], "len": 11, "let": 6, "level": [0, 2, 8], "lifespan": 5, "lightlogg": 2, "like": [6, 8, 11], "line": 6, "linear": 6, "link": [2, 3, 4, 5, 8, 11], "list": [0, 1, 2, 4, 6, 8], "live": 6, "load": [0, 3, 4, 5, 6], "load_beelin": 11, "load_state_dict": 6, "local": [0, 6, 8], "lofgof": 4, "log": [2, 3, 5, 8, 11], "logger": 2, "longtensor": 2, "look": 6, "loss": 11, "lr_adj": 2, "lr_nn": 2, "m": 6, "machin": 11, "made": 6, "magnitud": 11, "mai": [0, 2, 6, 11], "make": [1, 6, 11], "male": [5, 11], "mani": [0, 11], "map": 6, "match": 6, "matix": 2, "matrix": [0, 1, 2, 6, 8, 11], "max": 11, "maxim": 2, "maz": 11, "mcm10": 11, "mcm3": 11, "mcm4": 11, "mcm5": 11, "mcm6": 11, "mcm7": 11, "mdc": 4, "meaning": 11, "mechan": 6, "mef2c": 11, "member": 6, "memo": 6, "memori": 6, "memory_format": 6, "mertk": 12, "mesc": [4, 11], "method": [0, 6, 8, 11], "metric": [1, 8, 11], "mhsc": 4, "mice": 11, "microglia": [3, 5, 7, 8, 11, 12], "mid": 8, "middl": 11, "might": 11, "min_count": 11, "mind": 11, "minim": 2, "minut": [8, 11], "miss": 6, "missing_kei": 6, "mitochondri": [3, 5], "mode": 6, "model": [2, 3, 5, 6, 11], "modif": 6, "modifi": 6, "modul": [6, 8], "more": [6, 8, 11], "most": [0, 2, 8, 11], "mous": [3, 5, 8, 11], "move": [6, 11], "mp": 2, "multi": 6, "multipli": 6, "must": 6, "n": [6, 11], "n_celltyp": 6, "n_cluster": 11, "n_gene": [2, 6], "n_ob": 11, "n_step": 2, "n_var": 11, "name": [0, 1, 2, 6, 8, 11], "named_buff": 6, "named_children": 6, "named_modul": 6, "named_paramet": 6, "namedtupl": 6, "natur": [3, 4], "ncbi": 5, "ndarrai": [0, 1, 2], "necessari": 4, "need": [0, 2, 6, 11], "neighbor": 0, "neighborhood": [0, 11], "nest": 6, "net": 6, "net_b": 6, "net_c": 6, "network": [0, 2, 4, 6], "networkx": 11, "neural": [2, 6], "new": 6, "nih": 5, "nlm": 5, "nn": 6, "no_grad": 6, "node": [0, 1], "node2vec": 11, "node_embed": 11, "node_group_dict": 11, "node_label": 11, "nois": [2, 6, 8], "noisi": 11, "non": [2, 3, 4, 5, 6], "non_block": 6, "none": [0, 2, 6], "norm": [2, 6], "note": [6, 11], "novel": 11, "now": [7, 8, 11], "np": [0, 1, 2, 11], "num_featur": 6, "num_walk": 11, "number": [0, 2, 6, 11], "numpi": [0, 1, 2, 4, 8, 11], "nx": 11, "nxg": 11, "o": 6, "ob": 11, "object": [0, 2, 3, 4, 5, 6, 8], "obtain": 2, "obviou": 11, "obvious": 11, "offici": 8, "often": [2, 8], "ofter": 2, "onc": 6, "one": [3, 6, 8, 11], "ones": 6, "onli": [0, 2, 4, 5, 6, 8, 11], "oper": 6, "optim": 6, "option": [0, 2, 6], "order": [1, 2, 6, 11], "ordereddict": 6, "org": 3, "other": [0, 6, 11], "otherwis": 6, "our": [2, 6, 8, 11], "out": [2, 6, 8, 11], "out_featur": 6, "output": [3, 5, 6], "over": [2, 6], "overridden": 6, "own": 6, "p100": 5, "p2ry12": 12, "packag": [0, 7, 8, 11], "panda": 0, "paper": [2, 3, 4, 5, 6, 7, 8, 11], "param": [4, 6], "paramet": [0, 1, 2, 3, 4, 5, 6], "parent": [3, 4, 5], "part": 6, "particular": 6, "partit": [2, 11], "pass": [0, 6], "path": [0, 3, 4, 5, 6], "pcna": 11, "percentag": 6, "perform": [6, 8, 11], "persist": 6, "pick": 11, "pickl": 6, "picklabl": 6, "pin": 6, "pip": 8, "place": 6, "plai": 11, "pleas": [2, 6, 8], "plot": [0, 2, 8], "plot_engin": 0, "plot_pyvi": 0, "plu": 3, "point": [0, 2, 6], "polr3b": 11, "posit": 6, "possibl": [6, 11], "possibli": 6, "post": 6, "pre": 6, "predict": [0, 8], "prefer": [0, 11], "prefix": 6, "prepend": 6, "preprocess": [8, 11], "preserv": 6, "previou": [8, 11], "print": [6, 11], "probabilist": [2, 6, 8], "probabl": [0, 2], "process": [2, 6, 8, 11], "progress": 11, "project": 11, "properti": 6, "propos": [8, 11], "pros1": 12, "provid": [0, 2, 3, 4, 5, 6, 7, 8, 11, 12], "public": 11, "put": 11, "pypi": 8, "python": 11, "pyvi": [0, 11], "qualifi": 6, "queri": [5, 6], "quickli": 7, "rad51": 11, "rad54b": 11, "rais": 6, "random": 2, "random_st": 11, "rang": [8, 11], "rapidli": 8, "rate": 2, "ratio": 8, "raw": [3, 5, 11], "rbbp4": 11, "rd": 11, "rd_trainer": 11, "re": 6, "reachabl": 0, "read": [2, 11], "read_hdf5": [0, 8, 11], "reason": 6, "recal": 11, "receiv": 6, "recip": 6, "recommend": [2, 11], "record": 6, "recovered_grn": 11, "recurs": 6, "reduc": 0, "refer": [2, 6, 8], "referenc": 6, "regardless": 6, "regdiffus": [0, 1, 2, 7, 11, 12], "regdiffusiontrain": [8, 11], "region": [8, 11], "regist": 6, "register_backward_hook": 6, "register_buff": 6, "register_forward_hook": 6, "register_forward_pre_hook": 6, "register_full_backward_hook": 6, "register_full_backward_pre_hook": 6, "register_load_state_dict_post_hook": 6, "register_modul": 6, "register_module_forward_hook": 6, "register_module_forward_pre_hook": 6, "register_module_full_backward_hook": 6, "register_module_full_backward_pre_hook": 6, "register_paramet": 6, "register_state_dict_pre_hook": 6, "regul": [6, 11], "regular": 2, "regulatori": [0, 2, 4, 8, 11], "rel": 11, "relat": 11, "relationship": [2, 8, 11], "releas": 6, "reload": 8, "remov": [2, 3, 5, 6, 11], "removablehandl": 6, "remove_dupl": 6, "repair": 11, "replic": 11, "repres": 11, "represent": 6, "requir": [0, 6], "requires_grad": 6, "requires_grad_": 6, "reset": 6, "resolv": 6, "respect": 6, "rest": 2, "result": 6, "return": [4, 6], "reveal": 5, "ribosom": [3, 5], "right": [7, 8, 11], "rna": [5, 8], "rnaseq": 2, "role": 11, "roughli": 8, "row": [1, 2, 3, 4, 5, 11], "rrm2": 11, "run": [2, 6, 7, 11], "running_mean": 6, "running_var": 6, "runtim": 6, "runtimeerror": 6, "s1074": 5, "s41586": 3, "s41592": 4, "sai": 6, "sall1": 12, "same": [1, 2, 6, 8, 11], "sampl": 7, "save": [0, 2, 3, 4, 5, 6, 8, 11], "scale": [2, 8], "scanpi": 4, "scp795": 3, "search": 0, "second": [4, 11], "see": [2, 6, 11], "seed": [2, 11], "select": [0, 3, 5], "self": 6, "sens": 11, "sepcifi": 2, "seq": [4, 8], "sequenc": 5, "sequenti": 6, "serial": 6, "set": [0, 2, 4, 6, 8, 11], "set_extra_st": 6, "set_to_non": 6, "sever": 6, "shallow": 6, "shape": 0, "share_memori": 6, "share_memory_": 6, "shinygo": 11, "should": [2, 6, 11], "show": [6, 11], "side": [8, 11], "siglech": 12, "signatur": 6, "silent": 6, "similar": [0, 6, 8, 11], "similarli": 6, "simpl": [6, 11], "simpli": [0, 8, 11], "sin3a": 11, "sinc": [6, 11], "singl": [0, 2, 3, 4, 5, 6, 7, 8, 11], "single_cel": 3, "singlecel": 3, "sit": 11, "situat": 2, "size": [2, 6, 11], "skip": 6, "sklearn": 11, "slightli": 0, "small": 11, "smaller": [0, 2], "so": [6, 11], "some": [6, 7, 11, 12], "someth": 6, "sort": 0, "sourc": [0, 1, 2, 3, 4, 5, 6], "space": 0, "spars": [0, 2], "sparse_loss_coef": 2, "specifi": [0, 6], "speed": [2, 11], "squar": 0, "standard": 11, "start": 8, "start_nois": 2, "state": [5, 6], "state_dict": 6, "statist": 11, "stem": 11, "step": [2, 6], "still": 8, "storag": 6, "store": 6, "str": [0, 2, 3, 4, 5, 6, 11], "straightforward": 8, "strand": 11, "strict": 6, "strictli": 6, "stride": 6, "string": [4, 6, 11], "strong": [2, 11], "strongest": 11, "studi": [3, 5, 11], "subclass": 6, "subdirectori": [3, 4, 5], "submodul": 6, "subsequ": 6, "subset": 11, "suffici": 11, "suggest": 11, "summari": 3, "support": [1, 8, 11], "sure": 1, "switch": 2, "t": [2, 6, 8, 11], "tabl": [2, 11], "taf1": 11, "take": [6, 8], "target": [0, 1, 6], "task": 11, "tcf12": 11, "technic": 6, "ten": 8, "tensor": [2, 6], "test": 11, "tet1": 11, "tf": [0, 11], "tf_name": [0, 2], "than": [0, 8], "thei": [6, 11], "them": [2, 6], "therefor": 11, "thi": [0, 2, 5, 6, 7, 8, 11], "thing": 0, "those": 8, "thousand": 8, "through": [2, 11], "throughout": 5, "throw": 6, "thrown": 6, "time": [2, 6, 11], "time_dim": [2, 6], "timeless": 11, "tmem119": 12, "to_empti": 6, "to_hdf5": [0, 8, 11], "togeth": 11, "too": 11, "tool": 8, "top": [0, 8, 11], "top2a": 11, "top_gene_percentil": [0, 2, 11], "topolog": 11, "torch": [2, 6], "torch_doctest_cuda1": 6, "total": [2, 11], "train": [2, 6, 8, 11], "train_loss": 2, "train_split": 2, "train_split_se": 2, "trainer": [2, 11], "training_curv": 2, "transcript": [0, 2], "transcriptom": [3, 4], "transform": [2, 3, 5, 8, 11], "transit": 6, "traves": 0, "trem2": 12, "tri": [6, 8], "true": 6, "truth": [1, 2, 4, 8, 11], "tupl": [4, 6, 11], "tutori": [8, 11], "two": [0, 4, 6, 7, 11], "type": [2, 3, 4, 6], "typic": 6, "u": 11, "uhrf1": 11, "unchang": 6, "undefin": 6, "under": [3, 4, 5, 6, 8], "underli": 8, "unexpect": 6, "unexpected_kei": 6, "ung": 11, "unless": 6, "up": 11, "updat": 6, "us": [0, 2, 3, 6, 7, 8, 11, 12], "user": 6, "util": 6, "vae": 8, "val": 2, "valid": 11, "valu": [0, 2, 6, 8], "var": 6, "var_nam": 11, "vari": 11, "veri": [0, 8, 11], "verifi": 8, "version": [0, 6], "vi": [0, 11], "view": [6, 11], "vision": 11, "visual": [0, 8], "visualize_local_neighborhood": [0, 8, 11], "wai": [0, 8, 11], "walk_length": 11, "want": [2, 11], "we": [0, 2, 3, 5, 6, 7, 8, 11, 12], "weak": 2, "weight": [0, 6], "weight_decay_adj": 2, "weight_decay_nn": 2, "well": [2, 6, 8], "what": 8, "when": [0, 2, 6, 8, 11], "where": [2, 3, 5, 11], "whether": [0, 2, 6], "which": [0, 2, 6], "while": 6, "whole": 6, "whose": [0, 6, 11], "wide": 11, "width": 0, "window": 11, "with_kwarg": 6, "within": [6, 11], "without": 6, "won": [6, 11], "work": [2, 6, 8, 11], "worker": [0, 11], "would": [6, 8], "wrap": 6, "wv": 11, "www": [3, 4, 5], "x": [6, 11], "x_0": 2, "xdoctest": 6, "xpu": 6, "yield": [6, 11], "you": [0, 2, 6, 7, 8, 11], "your": [0, 2, 6, 8, 11], "z": 3, "zero": [0, 2, 3, 5, 6, 11], "zero_grad": 6, "zfp367": 11, "zip": 11}, "titles": ["GRN", "GRNEvaluator", "RegDiffusionTrainer", "regdiffusion.data.load_atlas_microglia", "regdiffusion.data.load_beeline", "regdiffusion.data.load_hammond_microglia", "RegDiffusion", "data module", "RegDiffusion", "main Interface", "models", "Get Started", "Additional local networks"], "titleterms": {"1": 11, "2": 11, "3": 11, "addit": 12, "around": 11, "citat": 8, "cluster": 11, "data": [3, 4, 5, 7, 11], "discov": 11, "gene": 11, "get": 11, "grn": [0, 11], "grnevalu": 1, "infer": [8, 11], "inspect": 11, "instal": 8, "interfac": 9, "interpret": 11, "load": 11, "load_atlas_microglia": 3, "load_beelin": 4, "load_hammond_microglia": 5, "local": [11, 12], "main": 9, "model": [8, 10], "modul": 7, "network": [8, 11, 12], "node": 11, "object": 11, "option": 11, "particular": 11, "quick": 8, "regdiffus": [3, 4, 5, 6, 8], "regdiffusiontrain": 2, "requir": 11, "result": 11, "select": 11, "speed": 8, "start": 11, "step": 11, "structur": 8, "target": 11, "tour": 8, "understand": 8, "visual": 11}}) \ No newline at end of file