dot-frapclass: frapclass

.frapclassR Documentation

frapclass

Description

Class representing functionality for FRAP (Fluorescence Recovery After Photobleaching).

Format

R6Class object.

Usage

frap_obj <- frapclass$new(name, bleach)

Public fields

name

Name of the class.

bleach

Percentage of sample bleaching.

fmin

Minimum fluorescence recovery value.

length

Length of the class.

seconds

Vector of time in seconds.

photo

Vector of time frames.

time0

Vector of recovery start times.

getColor

Function to get the current color.

setColor

Function to set the color.

Methods

Public methods


Method new()

Usage
.frapclass$new(name, bleach)

Method addDataFrame()

Usage
.frapclass$addDataFrame(
  seconds,
  photo,
  areaColumn,
  inputColumn,
  dataR,
  dataC,
  dataB = NULL
)

Method addFile()

Usage
.frapclass$addFile(
  seconds,
  photo,
  areaColumn,
  inputColumn,
  fileR,
  fileC,
  fileB = ""
)

Method addDir()

Usage
.frapclass$addDir(
  seconds,
  photo,
  areaColumn,
  inputColumn,
  dirR,
  dirC,
  dirB = ""
)

Method time()

Usage
.frapclass$time(index = NA, AB = FALSE)

Method area()

Usage
.frapclass$area(index = NA, type = "R")

Method recover()

Usage
.frapclass$recover(
  index = NA,
  type = "RCB",
  area = TRUE,
  stand = TRUE,
  AB = FALSE
)

Method table()

Usage
.frapclass$table(
  index = NA,
  type = "RCB",
  area = TRUE,
  stand = TRUE,
  AB = FALSE
)

Method clone()

The objects of this class are cloneable with this method.

Usage
.frapclass$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Examples

# Create an instance of the "frapclass" class
frap_obj <- frapclass$new("FRAP1", 30)


artitzco/fraping documentation built on June 1, 2024, 10:08 a.m.