Given an entropy object, stores entropy scores in a file formatted as a Cytoscape node attribute file
cyto_entropy(entropy, contact= NULL, filepath)
An object created by an entropy function
Result of corr_contact
function that contains top positions to be taken into account
The full path name of the output file
This function purpose is storing the entropy scores in a file that will read by Cytoscape as node attributes
# NOT RUN {
align <- import.msf(system.file("msa/toy_align.msf", package = "Bios2cor"))
#Creating ENTROPY object and writing results in cytoscape format
entropy <- entropy(align)
cyto_ent <- cyto_entropy(entropy, contact = NULL, "cyto_entropy.txt")
# }
Run the code above in your browser using DataLab