Hey @stuartarcher thanks for your input on this. This is exactly more or less what I was interested in seeing, sorry for such a novice question. I'm still getting familiar to how to manage this type of data. With this type of a heatmap, would my level of intensity in the heatmap be regulated by how absent or present a given cluster is in a genome or would this be just using
I wanted to follow up with another question now that you have mentioned the use of trees. I ran the BiG-SCAPE algorithm on my gene clusters to measure their phylogenetic relationship. This algorithm basically gives a measure of distance between gene clusters and is represented in a dataframe such as:
BGC1 BGC2 Distance
-----------------------------------------------
BGC31 BGC34 0.6
BGC34 BGC45 0.7
BGC34 BGC53 0.2
BGC53 BGC31 0.8
Would it be possible to construct a tree just based on this type of data? I have been able to create network visualizations from this data through Cytoscape but not possibly a tree. Any further suggestions?
Thanks once again fro your input :)
Suitable data type can depend on how many genomes and how many gene clusters you have. Would a hash table or a dictionary work (Genome as key and GCFs as values)? I'd suggest Hash package in R or Dictionary in python
A binary matrix and Genomes as rows and GCFs as columns and two GCFs that co-occure in a genome would have value 1 for the row for that genome (The matrix would be sparse I assume). I'd suggest pandas package in python
Thanks for your input on this, I will try the revision of a binary matrix based on packages mentioned. I just want a binary matrix more or less so I can eventually plot a heatmap and conduct statistical analysis, even something simple such as chi squared to measure the proper correlation.
Thanks again @Fatima :D