Learn R Programming

vascr (version 0.1.4)

vascr_import: Import an impedance datafile to vascr

Description

Import an impedance datafile to vascr

Usage

vascr_import(
  instrument = NULL,
  raw = NULL,
  modeled = NULL,
  experiment = NULL,
  shear = FALSE
)

Value

A vascr dataset for subsequent analysis

Arguments

instrument

Instrument to import from, either ECIS, xCELLigence or cellZscope

raw

Path to raw data file

modeled

Path to modeled data file from manufacturer's software

experiment

Name for the experiment being imported

shear

True or False, is a shear plate used, as these have a different electrode layout. Defaults to False.

Examples

Run this code
# \donttest{

# ECIS
raw = system.file('extdata/instruments/ecis_TimeResample.abp', package = 'vascr')
modeled = system.file('extdata/instruments/ecis_TimeResample_RbA.csv', package = 'vascr')
vascr_import("ECIS", raw, modeled, "ECIS_Data")

# xCELLigence
raw = system.file('extdata/instruments/xcell.plt', package = 'vascr')
# No modeling for this system
vascr_import("xCELLigence", raw, experiment = "xCELLigence")

# cellZscope
model = system.file("extdata/instruments/zscopemodel.txt", package = "vascr")
raw = system.file("extdata/instruments/zscoperaw.txt", package = "vascr")
vascr_import("cellzscope", raw, model, "cellZscope")

#' # ScioSpec
raw = system.file("extdata/instruments/ScioSpec", package = "vascr")
vascr_import("sciospec", raw, model, "ScioSpec")

# }

Run the code above in your browser using DataLab