@@ -96,14 +96,16 @@ You can submit your dataset in any of the following formats:
9696- CSV (.csv)
9797- TSV (.tsv)
9898
99- Please ensure that the dataset has a column 'Node' containing node IDs. If you only provide the node IDs, you can
100- also include a column in your dataset 'NodeType' indicating the entity type for each node. You can also optionally add
101- the following columns to your dataset:
99+ Please ensure that the dataset minimally has a column 'Node' containing node IDs. You can also optionally add the
100+ following columns to your dataset:
102101
102+ - NodeType
103103- LogFC [*]_
104104- p-value
105105
106- .. [* ] log :sub: `2` fold change
106+ .. [* ] |Log | fold change
107+
108+ .. |Log | replace :: Log\ :sub: `2`
107109
108110Input dataset examples
109111~~~~~~~~~~~~~~~~~~~~~~
@@ -112,8 +114,22 @@ DiffuPath accepts several input formats which can be codified in different ways.
112114`diffusion scores <https://github.com/multipaths/DiffuPy/blob/master/docs/source/diffusion.rst >`_ summary for more
113115details.
114116
115- 1. You can provide a dataset with a column 'Node' containing node IDs along with a column 'NodeType' indicating the
116- entity type.
117+ 1. You can provide a dataset with a column 'Node' containing node IDs.
118+
119+ +------------+
120+ | Node |
121+ +============+
122+ | A |
123+ +------------+
124+ | B |
125+ +------------+
126+ | C |
127+ +------------+
128+ | D |
129+ +------------+
130+
131+ 2. You can also provide a dataset with a column 'Node' containing node IDs as well as a column 'NodeType', indicating
132+ the entity type of the node to run diffusion by entity type.
117133
118134+------------+--------------+
119135| Node | NodeType |
@@ -127,34 +143,34 @@ entity type.
127143| D | Gene |
128144+------------+--------------+
129145
130- 2 . You can also choose to provide a dataset with a column 'Node' containing node IDs as well as a column 'logFC' with
131- their log :sub: `2` FC .
146+ 3 . You can also choose to provide a dataset with a column 'Node' containing node IDs as well as a column 'logFC' with
147+ their LogFC. You may also add a 'NodeType' column to run diffusion by entity type .
132148
133149+--------------+------------+
134150| Node | LogFC |
135151+==============+============+
136- | Gene A | 4 |
152+ | A | 4 |
137153+--------------+------------+
138- | Gene B | -1 |
154+ | B | -1 |
139155+--------------+------------+
140- | Metabolite C | 1.5 |
156+ | C | 1.5 |
141157+--------------+------------+
142- | Gene D | 3 |
158+ | D | 3 |
143159+--------------+------------+
144160
145- 3 . Finally, you can provide a dataset with a column 'Node' containing node IDs, a column 'logFC' with their log :sub: `2`
146- FC and a column 'p-value' with adjusted p-values.
161+ 4 . Finally, you can provide a dataset with a column 'Node' containing node IDs, a column 'logFC' with their logFC
162+ and a column 'p-value' with adjusted p-values. You may also add a 'NodeType' column to run diffusion by entity type .
147163
148164+--------------+------------+---------+
149165| Node | LogFC | p-value |
150166+==============+============+=========+
151- | Gene A | 4 | 0.03 |
167+ | A | 4 | 0.03 |
152168+--------------+------------+---------+
153- | Gene B | -1 | 0.05 |
169+ | B | -1 | 0.05 |
154170+--------------+------------+---------+
155- | Metabolite C | 1.5 | 0.001 |
171+ | C | 1.5 | 0.001 |
156172+--------------+------------+---------+
157- | Gene D | 3 | 0.07 |
173+ | D | 3 | 0.07 |
158174+--------------+------------+---------+
159175
160176You can also take a look at our `sample datasets <https://github.com/multipaths/DiffuPy/tree/master/examples/datasets >`_
@@ -284,13 +300,13 @@ Custom-network example
284300~~~~~~~~~~~~~~~~~~~~~~
285301
286302+-----------+--------------+-------------+
287- | Source | Target | Relation |
303+ | Source | Target | Relation |
288304+===========+==============+=============+
289- | Gene A | Gene B | Increase |
305+ | A | B | Increase |
290306+-----------+--------------+-------------+
291- | Gene B | Metabolite C | Association |
307+ | B | C | Association |
292308+-----------+--------------+-------------+
293- | Gene A | Pathology D | Association |
309+ | A | D | Association |
294310+-----------+--------------+-------------+
295311
296312You can also take a look at our `sample networks <https://github.com/multipaths/DiffuPy/tree/master/examples/networks >`_
0 commit comments