Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

Bios2cor (version 1.2)

cyto_entropy: Creation of a entropy file in Cytoscape format

Description

Given an entropy object, stores entropy scores in a file formatted as a Cytoscape node attribute file

Usage

cyto_entropy(entropy, contact= NULL, filepath)

Arguments

entropy

An object created by an entropy function

contact

Result of corr_contact function that contains top positions to be taken into account

filepath

The full path name of the output file

Details

This function purpose is storing the entropy scores in a file that will read by Cytoscape as node attributes

Examples

Run this code
# 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