write.features.to.files: Write feature data to an output file

Description Usage Arguments Value Examples

View source: R/aggregateData.R

Description

Takes in list of dataframes (one per feature) from an MEA data structure that is produced by IGM.aggregate.features and writes output to Files. Each dataframe corresponds to one feature, containing values for each well across each DIV of recording

Usage

1
write.features.to.files(s, features.list, output.dir, type) 

Arguments

s

MEA data structure

features.list

list of dataframes, one for each feature.

output.dir

Output directory)

type

Type of features (e.g. "spikes", "ns", "bursts")

Value

Write one csv per feature for the feature type requested.

Examples

1
2
3
4
5
6
	data("S")
	s<-list()
	s[[1]]<-S
  spike.features = IGM.aggregate.features(s, "spike")

#  write.features.to.files(s, spike.features, analysis$output.dir, "spikes")

IGM.MEA documentation built on May 29, 2017, 11:07 p.m.