pypath.internals.input_formats.NetworkInput§

class pypath.internals.input_formats.NetworkInput(name='unknown', separator=None, id_col_a=0, id_col_b=1, id_type_a='uniprot', id_type_b='uniprot', entity_type_a='protein', entity_type_b='protein', is_directed=False, sign=False, input=None, references=None, extra_edge_attrs=None, extra_node_attrs_a=None, extra_node_attrs_b=None, header=False, taxon_a=9606, taxon_b=9606, ncbi_tax_id=9606, interaction_type='post_translational', positive_filters=None, negative_filters=None, mark_source=None, mark_target=None, input_args=None, curl_args=None, must_have_references=True, huge=False, resource=None, unique_fields=None, expand_complexes=None, data_model=None, allow_loops=None, only_default_organism=False, dataset=None)[source]§

Bases: object

__init__(name='unknown', separator=None, id_col_a=0, id_col_b=1, id_type_a='uniprot', id_type_b='uniprot', entity_type_a='protein', entity_type_b='protein', is_directed=False, sign=False, input=None, references=None, extra_edge_attrs=None, extra_node_attrs_a=None, extra_node_attrs_b=None, header=False, taxon_a=9606, taxon_b=9606, ncbi_tax_id=9606, interaction_type='post_translational', positive_filters=None, negative_filters=None, mark_source=None, mark_target=None, input_args=None, curl_args=None, must_have_references=True, huge=False, resource=None, unique_fields=None, expand_complexes=None, data_model=None, allow_loops=None, only_default_organism=False, dataset=None)[source]§
Parameters:
  • mark_source (str) – Creates a boolean vertex attribute and sets it True for the source vertex of directed interactions from this particular resource.

  • mark_target (str) – Same as mark_source but for target vertices.

Methods

__init__([name, separator, id_col_a, ...])

param str mark_source: