Constants

Constants of diffupy.

diffupy.constants.DEFAULT_DIFFUPY_DIR = '/home/docs/.diffupy'

Default DiffuPy directory

diffupy.constants.OUTPUT = '/home/docs/.diffupy/output'

Default DiffuPy output directory

diffupy.constants.ensure_output_dirs()[source]

Ensure that the output directories exists.

diffupy.constants.EMOJI = '🌐'

Available diffusion methods

diffupy.constants.RAW = 'raw'

raw

diffupy.constants.ML = 'ml'

ml

diffupy.constants.GM = 'gm'

gm

diffupy.constants.MC = 'mc'

mc

diffupy.constants.Z = 'z'

z

diffupy.constants.BER_S = 'ber_s'

ber_s

diffupy.constants.BER_P = 'ber_p'

ber p

diffupy.constants.METHODS = {'ber_p', 'ber_s', 'gm', 'mc', 'ml', 'raw', 'z'}

Available formats

diffupy.constants.CSV = 'csv'

csv

diffupy.constants.XLS = 'xls'

xml

diffupy.constants.XLSX = 'xlsx'

xmls

diffupy.constants.TSV = 'tsv'

tsv

diffupy.constants.GRAPHML = 'graphml'

graphML

diffupy.constants.BEL = 'bel'

bel

diffupy.constants.JSON = 'json'

node link json

diffupy.constants.PICKLE = 'pickle'

pickle

diffupy.constants.GML = 'gml'

gml

diffupy.constants.EDGE_LIST = '.lst'

edge list

diffupy.constants.GRAPH_FORMATS = ('csv', 'tsv', 'graphml', 'bel', 'json', 'pickle', 'gml')

Available graph formats

diffupy.constants.KERNEL_FORMATS = ('csv', 'tsv', 'json', 'pickle')

Available kernel formats

diffupy.constants.FORMAT_SEPARATOR_MAPPING = {'csv': ',', 'tsv': '\t'}

Optional parameters

diffupy.constants.THRESHOLD = 'threshold'

Expression value threshold

diffupy.constants.ABSOLUTE_VALUE_EXP = 'absolute_value'

Acceptable column names of user submitted network

diffupy.constants.SOURCE = 'Source'

Column name for source node

diffupy.constants.TARGET = 'Target'

Column name for target node

diffupy.constants.RELATION = 'Relation '

Dataset column names

diffupy.constants.NODE = 'Node'

Node name

diffupy.constants.NODE_TYPE = 'NodeType'

Node type

diffupy.constants.SCORE = 'Score'

Unspecified score type

diffupy.constants.LOG_FC = 'LogFC'

Log2 fold change (logFC)

diffupy.constants.P_VALUE = 'p-value'

Statistical significance (p-value)