Learn R Programming

rsgcc (version 1.0.6)

uniqueTissues: get tissue information

Description

This function reads the sample names of genes and get unique tissue information for further tissue-specific genes finding and clustering.

Usage

uniqueTissues(x)

Arguments

x
a numeric matrix containing gene expression value. The column labels are samples names. For two samples from the same tissue T, their names should be assigned as T.1 and T.2, respectively.

Value

A data matrix in which the elements is 0 (the sample not from the tissue) or 1 (the sample from the tissue)

See Also

getsgene, gcc.tsheatmap.

Examples

Run this code

## Not run: 
#    data(rsgcc)
#    x <- rnaseq
#    uniqueTissues(x)
# ## End(Not run)

Run the code above in your browser using DataLab