tkWidgets (version 1.50.0)

tkSampleNames: Simple interface to associate sample names with files

Description

This widget provides an interface to enter names to be associated with files containing array expression information related to a particular sample.

Usage

tkSampleNames(..., filenames = character(0))

Arguments

...
the filenames to be associated with a sample name, supplied individually and/or as a character vector
filenames
a character vector of filenames to be associated with a sample name.

Value

A character matrix with the first column the filenames the second column the sample names to associate.

Details

AnnotatedDataFrame-class objects will use sample names as row names for its pData. The colnames of the expression matrices in ExpressionSet-class use this as well. Many times, each of these columns are obtained from a file. Rather than use the, sometimes ugly, filename we can use the sample names that this interface associates with each file.

The function returns a character matrix intended to be used to create sample names in AnnotatedDataFrame and ExpressionSet. However, the function can be used independently of the Biobase package.

See Also

AnnotatedDataFrame-class