Dear Cytoscape Team,
I am currently
in the process trying (and failing) to do a network analysis. I have a
.csv file that is the result of a Spearman correlation test, testing
individual amplicon sequence variants (ASVs) and my columns contain the
following information - I have included a screen shot of what it looks
like.
A brief description of the data I am inputting into Cytoscape:
-The row and columns refer the row and column names (in this case, ASVs) of the correlation matrix.
-The Correlation column is the Spearman's Correlation of that pair (row and col)
-The IS_Col is simply labeled IS bc this marks the ASV's (from the col column) I want to highlight (aka color).
-Col_Perc: Is the weight I want to use to size my nodes from the col column
-Row_Perc: Is the weight I want to use to size my nodes from the row column.
What I have done trying to size and color the network by source and target columns individually:
I ran across a similar issue in this post:
What he's asking is the same thing I want to do but I cannot seem to figure it out at all.
The solution, according to the post: "When you import them, you'll need to designate which Weight Column
(for my data my weights are the Row_Perc and Col_Perc) goes to the source nodes and which go to the target, and the same
with the Target column. Then they will get appropriately
assigned."
I went ahead and did this - here is my designations during import:
row = source node
col = target node
Correlation = edge attribute
IS_Col = target node attribute
Col_Perc = target node attribute
Row_Perc = source node attribute
Next, I head on over to Styles --> Size.
Here is where I run into the issue. I can only choose one column for my size and adjust the rest of the node size based on a scalar! Here is a screenshot of my cytoscape session:
However,
this isn't what I need. I need to size both my source and target based
on their individual columns for weight - Row_Perc and Col_Perc,
respectively. Choosing either/or gives me 2 very separate looking
graphs!
This
is the same for the Style --> Fill Color - I can only choose ONE of
these columns to color the nodes - however, I need to color the source and target
nodes differently. If I choose my Fill Color as IS_col, it will ONLY
color my IS_Col and will not leave me another option to color the rest
of the nodes with a different color.
How can I go about sizing and coloring the nodes by source and target columns separately?
Any help would be greatly beneficial.