LTM is an in silico screen to infer genetic influences on circadian clock function. LTM uses natural variation in gene expression data and directly links gene expression variation to clock strength independent of longitudinal data.
Use devtools to install this version from Github:
```r
devtools::install_github('gangwug/LTMR')
## Usage
```r
library(LTMR)
###### follow the below script to run the example data
######load the example data
head(mClockBenchD)
head(exampleD)
######LTMprep: normalize the data
outPrepD = LTMprep(prepD = exampleD, quantNorm = TRUE, uniStyle = "mad", removeLowQuant = 0.1, bluntLowQuant = 0.025, bluntHighQuant = 0.975)
######LTMcut: filter the data for a quick test
outCutD = LTMcut(cutD = outPrepD, exemptGenes = mClockBenchD$geneSym, minExp = 10, minFold = 1.5)
######LTMheat: prepare the input data for latter analysis / takes ~half an hour per run / parallel computing will use less time when set 'nCores' larger than 1
outHeatA = LTMheat(heatD = outCutD, benchD = mClockBenchD, cvGenes = mClockBenchD$geneSym, qnum = 4, nCores = 1, releaseNote = TRUE)
outHeatA = outHeatA$screen
outHeatB = LTMheat(heatD = outCutD, benchD = mClockBenchD, cvGenes = mClockBenchD$geneSym, qnum = 5, nCores = 1, releaseNote = TRUE)
outHeatB = outHeatB$screen
######LTMcook: do the correlation for each quantile group
outCookA = LTMcook(cookD = outHeatA, corMethod = "pearson")
outCookB = LTMcook(cookD = outHeatB, corMethod = "pearson")
######LTMdish: get the LTM output results
LTMdish(dishL = list("Q4" = outCookA, "Q5" = outCookB), targetMeasures = c("zmantel", "zncv"), fileName = "example_LTMdish.csv", outDir = "./" )
Wu G, Ruben MD, Francey LJ, Lee Y, Anafi RC, Hogenesch JB. An in silico genome-wide screen for circadian clock strength in human samples. bioRxiv, 2022, https://www.biorxiv.org/content/10.1101/2022.05.10.491250v2.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.