extractLocsFile: Retrieve only the .locs file information

Description Usage Arguments Value Author(s) Examples

View source: R/scanBabFile.R

Description

Provides a mechanism to extract the information from the original .locs file from a compressed .bab file, without the need to extract the intensity or probe ID values.

Usage

1
extractLocsFile(inputFile, path = ".")

Arguments

inputFile

The name of the .bab file to be read in.

path

Path to where the input file can be found. Default is the current working directory.

Value

A matrix with two columns (four if two-channel data) containing the X and Y values of the bead centre coordinates supplied in the original .locs file. For two-channel data the first two columns contain the coordinates from the green channel, with the red channel held in columns three and four.

Author(s)

Mike L. Smith

Examples

1
2
3
4
 
    dataPath <- system.file("extdata", package = "BeadDataPackR")   
    locs <- extractLocsFile(inputFile = "example.bab", path = dataPath)
    locs[1:10,]

BeadDataPackR documentation built on Nov. 8, 2020, 8:04 p.m.