load_pop_matlab: Load a matlab population file

Description Usage Arguments Value Examples

View source: R/load_matlab.R

Description

Loads a matlab data file (or files) representing a population

Usage

1
load_pop_matlab(files, genotype_names, phenotype_names)

Arguments

files

a list of files, with each row representing a member of the population, and columns representing, in order:

  1. genes in the population (either as a boolean presence, or an expression value)

  2. the phenotypes

  3. rank

  4. crowding distance

genotype_names

a vector of names for the genotype columns

phenotype_names

a vector of names for the phenotype columns

Value

A data.frame, with appropriate columns prefixed by genotype. or .phenotype.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
library (RCytoscape)
library(sybil)

# Cytoscape must be initialized, and cytoscapeRPC set up
# (See RCytoscape documentation)

cy <- CytoscapeConnection ()
cytoscape_load(Ec_core)

## End(Not run)

maxconway/metabex documentation built on May 21, 2019, 1:39 p.m.