Learn R Programming

Bios2cor (version 1.2)

cyto_zscore: Creation of a Z-score file in Cytoscape format

Description

Given a correlation object, stores Z-scores in a file formatted as a Cytoscape edge attribute file

Usage

cyto_zscore(corr_struct, contact= NULL, filepath)

Arguments

corr_struct

An object created by a correlation function (omes, mip, elsc, mcbasc, rotamer_circular, rotamer_omes, rotamer_mip)

contact

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

filepath

The path where the file will be created

Details

This function purpose is storing Z-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 OMES object and writing Z-scores in cytoscape format
  omes <- omes(align)
  
  results <- cyto_zscore(omes, contact = NULL, "cyto_Zscore.txt")
# }

Run the code above in your browser using DataLab