View source: R/genes_patterns.R
| get_angles | R Documentation |
Calculate developmental stage angles for genes based on their expression patterns.
get_angles(e)
e |
Matrix of expression values with genes as rows and stages as columns |
This function uses PCA to project genes and ideal expression patterns into 2D space, then calculates the angle of each gene relative to ideal patterns. The angles represent the peak expression timing during development.
Numeric vector of angles representing each gene's expression pattern
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.