Learn R Programming

ISoLDE (version 1.0.2)

readTarget: READ THE TARGET FILE

Description

Checks and loads into a data.frame your target input file.

Usage

readTarget(target_file, asr_counts, del = "\t")

Arguments

target_file
A character-delimited text input file, containing metadata about ASR counts files (see target_file.txt).
asr_counts
The data.frame containing values of ASR counts (obtained either by the readRawInput or the readNormInput function). It is used to perform checks on compatibility with the target file.
del
Specifies the delimiter for the target input file, usually a semi-colon ";", a coma "," or a tabulation "\t". (default : "\t"). Note : None of your data values must contain this delimiter (be specially careful in gene names).

Value

a data.frame containing the target.

Details

See target_file.txt for more details about the target_file format.

See Also

target_file.txt: the metadata file on which to run the readTarget function.

Examples

Run this code
  # Target input file
  targetfile <- system.file("extdata", "target_file.txt", 
  package = "ISoLDE")
  # The data.frame containing ASR counts is also required
  data(rawASRcounts)
  # Load into a data.frame and check the target file
  target <- readTarget(target_file = targetfile, 
  asr_counts = rawASRcounts, del = "\t")

Run the code above in your browser using DataLab