select_interaction_type: Select Binary||Polymer||Complex in iRefIndex

Description Usage Arguments Value Author(s) Examples

Description

Select the subset of records in iRefIndex belonging to a certain interaction type (binary, polymer, complex).

Usage

1
2
     select_interaction_type(int_type, MITAB_table)
     

Arguments

int_type

Interaction type ("binary", "complex" or "polymer").

MITAB_table

iRefIndex/MITAB R table.

Value

output

R Table containing the requested subset of iRefIndex.

Author(s)

Antonio Mora <antoniocmora@gmail.com>

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
     ## get tables
     irefindex_curr_ecoli = get_irefindex("562", "13.0", tempdir())

     ## execute function
     iRef_binary = select_interaction_type("binary", irefindex_curr_ecoli)
     iRef_complex = select_interaction_type("complex", irefindex_curr_ecoli)
     iRef_polymer = select_interaction_type("polymer", irefindex_curr_ecoli)
     
     ## get results
     #pie_int_type = pie(c(dim(iRef_binary)[1], dim(iRef_polymer)[1], dim(
     #iRef_complex)[1]), labels=c("Binaries","Polymers","Complexes"), main=
     #"iRefIndex Records per Interaction Type")
     #edit(iRef_complex[1:10,])
     

antonio-mora/iRefR documentation built on May 10, 2019, 12:26 p.m.