Skip to content

Commit 4dec1e2

Browse files
author
Bharath Air
committed
1. Updated README to install dependencies too.
2. Updated the right vignette.
1 parent be6f7f7 commit 4dec1e2

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

README.Rmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ BiocManager::install(c("SummarizedExperiment", "DESeq2", "edgeR", "limma", "rain
4747
install.packages("devtools") # if it is not already installed
4848
devtools::install_github("cran/npsm") # Package archived by CRAN
4949
devtools::install_github("cran/DODR") # Package archived by CRAN
50-
devtools::install_github("bharathananth/compareRhythms", build_vignettes = TRUE)
50+
devtools::install_github("bharathananth/compareRhythms", build_vignettes = TRUE, dependencies = TRUE)
5151
```
5252

5353
## Usage summary

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<!-- badges: start -->
77

8-
[![](https://img.shields.io/badge/devel%20version-0.99.3-green.svg)](https://github.com/compareRhythms)
8+
[![](https://img.shields.io/badge/devel%20version-1.0.0-green.svg)](https://github.com/compareRhythms)
99
[![License:
1010
GPL-3](https://img.shields.io/badge/license-GPL--3-blue.svg)](https://cran.r-project.org/web/licenses/GPL-3)
1111
[![](https://app.codecov.io/gh/bharathananth/compareRhythms/branch/master/graph/badge.svg)](https://app.codecov.io/gh/bharathananth/compareRhythms)
@@ -30,7 +30,7 @@ BiocManager::install(c("SummarizedExperiment", "DESeq2", "edgeR", "limma", "rain
3030
install.packages("devtools") # if it is not already installed
3131
devtools::install_github("cran/npsm") # Package archived by CRAN
3232
devtools::install_github("cran/DODR") # Package archived by CRAN
33-
devtools::install_github("bharathananth/compareRhythms", build_vignettes = TRUE)
33+
devtools::install_github("bharathananth/compareRhythms", build_vignettes = TRUE, dependencies = TRUE)
3434
```
3535

3636
## Usage summary

vignettes/UserGuide.Rmd

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Analyzing rhythmic data with compareRhythms"
33
author: Bharath Ananthasubramaniam
4-
date: 23 Oct 2020
4+
date: 02 Jun 2022
55
output: rmarkdown::html_vignette
66
vignette: >
77
%\VignetteIndexEntry{Analyzing rhythmic data with compareRhythms}
@@ -93,6 +93,13 @@ The different approaches can be divided into model selection and the rest that a
9393
+ `length` (see **DESeq2**)
9494

9595
<u>Use cases</u>: This method is to be used with count data from an RNA-seq experiment. Count data from aligment (STAR, TopHat2) followed by quantification (htseq-count, summarizeOverlaps, featureCounts) can be directly used. If [tximport](https://doi.org/doi:10.18129/B9.bioc.tximport) is used to import data, then use `counts` and `length` obtained from the `tximport()` call with `countsFromAbundance = "no"`.
96+
97+
7. **Cosinor** (`method = "cosinor"`): This implements the simple classical **cosinor** analysis and includes an option to deal with longitudinal data (which is common in data from human studies).
98+
+ `rhythm_fdr` (see **limma**)
99+
+ `compare_fdr` (see **limma**)
100+
+ `longitudinal` is a boolean to switch between *independent* time samples (FALSE, default) or *repeated-measures* samples (TRUE).
101+
102+
<u>Use cases</u>: This method can be used for any normalized dataset of moderate size (few hundreds of features). This analysis assumes that noise in the data is Gaussian and that there are no trends in the measurements across time. The `longitudinal = TRUE` requires the user to provide a factor column `ID` in the `exp_design` with the identity of each experimental unit that is repeatedly measured (Note: this analysis uses mixed-model framework of [lme4](https://cran.r-project.org/package=lme4)).
96103

97104
### Example 1: Microarray data
98105
We analyze first the microarray data on the changes in circadian liver transcriptome under high fat diet (HFD) with respect to normal chow (NC) [@eckel-mahan_reprogramming_2013]. This data is provided with this package as a 23060x36 matrix called `high_fat_diet_ma`. Liver transcripts were quantified every 4h for 24h (6 samples) and the 2 different conditions with 3 biological replicates each (36=6x2x3). [maEndToEnd](https://bioconductor.org/packages/devel/workflows/vignettes/maEndToEnd/inst/doc/MA-Workflow.html) describes how to perform quality control and normalization for microarrays.

0 commit comments

Comments
 (0)