Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

write_features_to_files

Write feature data to an output file


Description

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

Usage

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

data("S")
	s<-list()
	s[[1]]<-S
  spike_features = aggregate_features(s, "spike")
  
    write_features_to_files(s, spike_features, analysis$output_dir, "spikes")

meaRtools

Micro-Electro Array (MEA) Analysis

v1.0.4
GPL (>= 3)
Authors
Quanli Wang [aut, ctb], Sahar Gelfman [aut, ctb, cre], Diana Hall [aut, ctb], Ryan Dhindsa [aut, ctb], Matt Halvorsen [aut, ctb], Ellese Cotterill [aut, ctb], Tom Edinburgh [aut, ctb], Stephen J. Eglen [aut, ctb, ths]
Initial release
2018-7-1

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.