Description Usage Arguments Value
View source: R/stagingByTranscription.R
This function compares each whole transcriptome sample to every time point in the provided reference time course, and identifies the best time point fit. Correlation is determined by the Pearson method.
1 2 3 4 5 6 7 8 | stagingByTranscription(
samples,
reference,
subset = NA,
cortable = F,
heatmap = T,
start = 1
)
|
samples |
A matrix of expression samples, with rows as genes and columns as samples. This is the set that will be tested. |
reference |
A reference expression time course, with rows as genes and columns as samples. |
subset |
The default is to use all genes in common between the two sets; if a subset is desired, provide this as vector of gene names in the subset. |
cortable |
If the full matrix of correlation values is desired, set to TRUE; default is FALSE. |
heatmap |
A simple correlation heatmap will be generated as default. Set to false to skip. |
start |
What hour the reference course starts at- default is 1hpi |
Default return is a matrix with one column; rows are samples and values are the time point of maximum correlation. The function will also plot a simple heatmap by default. If cortable is set to TRUE, the function will return a list; the first entry is the simple time point matrix, and the second entry is the full correlation matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.