SineFun: Apply sine model on one particular gene vs. other genes
Description
Apply sine model on one particular gene vs. other genes
Usage
SineFun(DataInSc,i)
Arguments
DataInSc
a gene-by-sample (isoform-by-sample) matrix indicating the rescaled expression of two genes/isoforms.
all values should be bettwen [-1, 1].
i
the gene (isoform) of interest. The function will apply the sine model on gene (isoform) i vs.
gene (isoform) j for all j > i. Gene (isoform) i (j) is defined as the gene (isoform )shown in the i (j) th
row. i should be smaller than the total number of genes (isoforms).
Value
Output is a list with two sublists, each shows the optimal phi's (shift) and epsilon's (value).
N-i entries will be included in each sublist (N is the total number of genes/isoforms). The kth entry
indicates results of gene (isoform) i vs. i+k.