tkSampleNames: Simple interface to associate sample names with files

Description Usage Arguments Details Value Author(s) See Also

View source: R/tkSampleNames.R

Description

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

Usage

1
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.

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.

Value

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

Author(s)

Majnu John

See Also

AnnotatedDataFrame-class


tkWidgets documentation built on Nov. 8, 2020, 5:17 p.m.