Learn R Programming

qtlc (version 1.0)

createTLC: Creates TLC S3 object

Description

Create matrix from TLC image

Usage

createTLC(ttiff, turnv = TRUE, ...)

Arguments

ttiff
File name of the TIFF image with scanned TLC plate.
turnv
Boolean value determines to turn vertically data in the matrix. TRUE generates turned image which is useful for Cartesian coordinates, because without turning the coordinate system begins in the left corner of the monithor and rises left and down.
...
Additional parameters for TIFF image manipulation.

Value

An object of class qtlc, that contains TLC matrix and descriptions. The object contains:
file_name
File name of of the TIFF image from which the TLC matrix was created.
mat
TLC matrix (or matrices if intensities Red, Green and Blue channels are not combined.)
spots
Coordinates of marked spots (using function spot2D).

Examples

Run this code
#Creates test matrix.
# RGB channels stay separated, or
# intensities are combined.
fname01 <- system.file("extdata", "testTIFF.tiff", package="qtlc")
testTLC <- createTLC(fname01, RGB=TRUE)
print(testTLC)

Run the code above in your browser using DataLab