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)