deduceSpecies: Find the species of the chiptype

View source: R/functions_processingQC.R

deduceSpeciesR Documentation

Find the species of the chiptype

Description

This function (from functions_processing) tries to determine the species related to the current chiptype, if the species has not been provided by the user (and as such is set to ""). If the descr parameter is not provided or is empty, an empty string is returned as species. In other cases the function tries to load an annotation library depending on the chiptype to find the species. If not successful, it will be set by hand for some predefined chiptypes. If still not successful, the empty string is returned.

Usage

deduceSpecies(descr = NULL)

Arguments

descr

(Status: required, Default: NULL) A string indicating the chiptype, which can be obtained by getting the @annotation slot from an AffyBatch object (datatype: character)

Value

The species associated with the current chiptype, or "" if detection was unsuccessful (datatype: character)

Examples

#species <- deduceSpecies(rawData@annotation)

ammar257ammar/ArrayAnalysis-Bioconductor documentation built on Jan. 29, 2024, 7:21 a.m.