validateTargets: Validate Targets File

Description Usage Arguments Details Value See Also Examples

Description

Checks whether targets file contains the required columns.

Usage

1
validateTargets(targets)

Arguments

targets

A data.frame containing the target information. See importTargets for more information.

Details

validateTargets checks that the targets dataframe contains the three columns below:

filename

name of the file containing the count data for the sample

condition

experimental treatment or condition that was applied

replicate

replicate identifier - can be numeric or character

If the target dataframe contains the necessary columns, validateTargets returns TRUE.

Value

If valid, returns TRUE.

See Also

Other target functions: importTargets

Other import functions: annotateDataset, importAnnotation, importConfig, importTargets, readCountData, validateConfig

Examples

1
2
3
4
5
targets <- data.frame( 'filename'=c('file1','file2','file3','file4'),
                  'condition' = rep(c('A','B'), times=2),
                  'replicate' = c(1,2,1,2))

validateTargets(targets)

sanger-pathogens/deago documentation built on May 28, 2019, 8:42 a.m.