What are required dependencies?
Load Shiny
separately if running shiny applications. Load ggplot2
and plotly
if intending to modify automated graphs.
How are Tm values estimated?
TSAR package estimates uses derivative method by locating maximum first derivative. Errors may occur during the process, edit estimation with caution if errors were perceived.
Are smoothing applied to data, what kind?
TSAR package utilizes gam
function from package mgcv
. Model assumes method = "GACV.Cp"
and sets to formula = y ~ s(x, bs = "ad")
. Smoothing may be toggled off by specifying parameters. Refer to function documentations for instructions.
Got new suggestions or unmentioned-problems?
Start a new issue in our github repository: "CGAO123/TSAR"
TSAR package processes large amounts of data of similar properties, it is easy to confuse one with another and fail analysis. Verify your data input and out here by check for variable names. Consider renaming your data frame to theese following if issues are encountered.
raw_data
required:
Temperature (double)
Fluorescence (double)
Well.Position (character)
norm_data
required:
Temperature (double)
Fluorescence (double)
Well.Position (character)
generated by tsar:
norm_deriv (double)
tm (double)
tsar_data
required:
Temperature (double)
Fluorescence (double)
Well.Position/Well (character)
norm_deriv (double)
Tm (double)
Protein (character)
Ligand (character)
generated by tsar:
ExperimentalFileName (character)
well_ID (character)
condition_ID (character)
For more detailed examples, refers to vignettes, TSAR_Package_Structure
and TSAR_Workflow_by_Command
.
Given the two available workflows, here is a list of corresponding shiny functions and relative command line functions.
View Selected; TSAR::screen()
Remove Selected; remove_raw()
View Model Fit; view_model()
Analyze all Wells; gam_analysis()
normalize()
, model_gam()
, model_fit()
, Tm_est()
Upload Well Information & Set Conditions; join_well_info()
Manual Input; load template using data("well_information")
write.csv()
Save File; write_tsar()
, read_tsar()
Merge Replicate Trials; merge_norm()
Generate Boxplot; TSA_boxplot()
Generate Compare Plots; TSA_compare_plot()
Graph Selected Curves; TSA_wells_plot()
Compare Derivatives; view_deriv()
List Condition IDs; condition_IDs()
List Well IDs; well_IDs()
List Tms; TSA_Tms()
List Delta Tms; Tm_difference()
#> R version 4.4.0 beta (2024-04-15 r86425)
#> Platform: x86_64-pc-linux-gnu
#> Running under: Ubuntu 22.04.4 LTS
#>
#> Matrix products: default
#> BLAS: /home/biocbuild/bbs-3.19-bioc/R/lib/libRblas.so
#> LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.10.0
#>
#> locale:
#> [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
#> [3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
#> [5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
#> [7] LC_PAPER=en_US.UTF-8 LC_NAME=C
#> [9] LC_ADDRESS=C LC_TELEPHONE=C
#> [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
#>
#> time zone: America/New_York
#> tzcode source: system (glibc)
#>
#> attached base packages:
#> [1] stats graphics grDevices utils datasets methods base
#>
#> other attached packages:
#> [1] TSAR_1.2.0
#>
#> loaded via a namespace (and not attached):
#> [1] gtable_0.3.5 xfun_0.43 bslib_0.7.0
#> [4] ggplot2_3.5.1 shinyjs_2.1.0 htmlwidgets_1.6.4
#> [7] rstatix_0.7.2 lattice_0.22-6 vctrs_0.6.5
#> [10] tools_4.4.0 generics_0.1.3 tibble_3.2.1
#> [13] fansi_1.0.6 highr_0.10 pkgconfig_2.0.3
#> [16] Matrix_1.7-0 data.table_1.15.4 readxl_1.4.3
#> [19] lifecycle_1.0.4 stringr_1.5.1 compiler_4.4.0
#> [22] munsell_0.5.1 minpack.lm_1.2-4 carData_3.0-5
#> [25] httpuv_1.6.15 shinyWidgets_0.8.6 htmltools_0.5.8.1
#> [28] sass_0.4.9 yaml_2.3.8 lazyeval_0.2.2
#> [31] plotly_4.10.4 later_1.3.2 pillar_1.9.0
#> [34] car_3.1-2 ggpubr_0.6.0 jquerylib_0.1.4
#> [37] tidyr_1.3.1 cachem_1.0.8 abind_1.4-5
#> [40] nlme_3.1-164 mime_0.12 tidyselect_1.2.1
#> [43] zip_2.3.1 digest_0.6.35 stringi_1.8.3
#> [46] dplyr_1.1.4 purrr_1.0.2 splines_4.4.0
#> [49] fastmap_1.1.1 grid_4.4.0 colorspace_2.1-0
#> [52] cli_3.6.2 magrittr_2.0.3 utf8_1.2.4
#> [55] broom_1.0.5 scales_1.3.0 promises_1.3.0
#> [58] backports_1.4.1 rmarkdown_2.26 httr_1.4.7
#> [61] ggsignif_0.6.4 cellranger_1.1.0 openxlsx_4.2.5.2
#> [64] shiny_1.8.1.1 evaluate_0.23 knitr_1.46
#> [67] viridisLite_0.4.2 mgcv_1.9-1 rlang_1.1.3
#> [70] Rcpp_1.0.12 xtable_1.8-4 glue_1.7.0
#> [73] jsonlite_1.8.8 rhandsontable_0.3.8 R6_2.5.1