Description Usage Arguments Value See Also
First order PC is calcuated according to the edge connections in the input edgelist. The correlation of a pair of genes are calcuated as (a) correlation if they do not connect
to the same neighbour genes and (b) the maximum of first order PC values by removing the controls one by one if they connect to shared neighbour genes. After that, the
cor2statistics
is used to calculate the p-value, FDR and connection probability from the output correlation.
1 2 |
data.exp |
gene expression data matrix with genes in columns and samples in rows. |
edgelist |
an edge list for fisrt order PC calculation. The PC values are calcuated over each pair of genes in the gene list. |
controlist |
list of vectors of neighbour genes for each pair of genes in |
method |
estimators of correlation. Options are "pearson", "spearman" and "kendall". |
logical. |
If TRUE, a progressbar will show to indicate the code runing percentage. |
firstPC
returns a data frame with columns of regulators, target genes, edge correlation weigthes, p-values, FRD and connection probability.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.