You also have the option to download a release directly from the [HTRfit release page](https://gitbio.ens-lyon.fr/aduvermy/HTRfit/-/tags). Once you've downloaded the release, simply launch following command.
We have developed [Docker images](https://hub.docker.com/r/ruanad/htrfit/tags) to simplify the package's utilization.
```
```sh
docker pull ruanad/htrfit:v2.0.0-beta
docker run -it--rm ruanad/htrfit:v2.0.0-beta
```
HTRfit allows building graphs to visualize results. Inside Docker, displaying a window from the R terminal can be tricky and requires specific settings before running the container. Following commands worked for us:
```
```sh
# Prepare target env
CONTAINER_DISPLAY="0"
CONTAINER_HOSTNAME="htrfit_user"
...
...
@@ -111,7 +111,7 @@ In the realm of RNAseq analysis, various key experimental parameters play a cruc
@@ -148,7 +148,7 @@ The `fitModelParallel()` function in **HTRfit** provides a powerful way to fit m
The `diagnostic_plot()` function allows to plot a diagnostic plot of AIC (Akaike Information Criterion), BIC (Bayesian Information Criterion), logLik (log-likelihood), deviance, df.resid (residual degrees of freedom), and dispersion. These metrics provide insights into how well the model fits the data and help in comparing different models. By examining these metrics, users can quickly identify any anomalies or potential issues in the fitting process.
```
```r
## -- plot all metrics
p<-diagnostic_plot(list_tmb=l_tmb)
```
...
...
@@ -163,14 +163,14 @@ The diagnostic metrics show that the fit is not as good for all genes.
The tidy_results function extracts a dataframe containing estimates of ln(fold changes), standard errors, test statistics, p-values, and adjusted p-values for fixed effects. Additionally, it provides access to correlation terms and standard deviations for random effects, offering a detailed view of HTRfit modeling results.