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.
Log
logical indicating whether the gene expression value would be log-transformed.
Base
a numeric value specifying the base of logarithm.
AddOne
logical indicating if add one for avoding the problem of log-zero.
tsThreshold
a numeric value giving the threshold of tissue specificity score. The tissue specificity score is 1, if the gene is only expressed in one tissue. Otherwise, the tissue specificity socre will be smaller than 1.
MeanOrMax
character "Mean" or "Max" indicate the mean or maximal expression value will be calculated for the tissue of interest.
Fraction
logical indicating whether the gene expression value would be scaled across tissues.