Skip to content

Commit

Permalink
# radiator 1.3.1 2024-04-23
Browse files Browse the repository at this point in the history
* Updated DArT code that use COUNT files to check more for problematic markers usually stemming from merged project
  • Loading branch information
thierrygosselin committed Apr 23, 2024
1 parent 2eb1dfa commit 899436d
Show file tree
Hide file tree
Showing 223 changed files with 252 additions and 239 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: radiator
Type: Package
Title: RADseq Data Exploration, Manipulation and Visualization using R
Version: 1.3.0
Date: 2024-02-22
Version: 1.3.1
Date: 2024-04-23
Encoding: UTF-8
Authors@R: c(
person("Thierry", "Gosselin", email = "thierrygosselin@icloud.com", role = c("aut", "cre")),
Expand Down
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# radiator 1.3.1 2024-04-23

* Updated DArT code that use COUNT files to check more for problematic markers usually stemming from merged projects


# radiator 1.3.0 2024-02-22

* Bug fix using coverage and DArT data
Expand Down
10 changes: 5 additions & 5 deletions R/dart.R
Original file line number Diff line number Diff line change
Expand Up @@ -882,8 +882,8 @@ import_dart <- function(
target.id = strata.df$INDIVIDUALS,
verbose = TRUE)

# Check for problematic DArT 2 rows ------------------------------------------
if (dart.format == "2rows") {
# Check for problematic DArT 2 rows and counts --------------------------------
if (dart.format == "2rows" || dart.format == "counts") {
n.markers <- length(unique(data$MARKERS))
if (n.markers != nrow(data) / 2) {
message("\n\nProblem with DArT file")
Expand Down Expand Up @@ -1269,15 +1269,15 @@ dart2gds <- function(
dplyr::mutate(
dplyr::across(
.cols = c(READ_DEPTH, ALLELE_REF_DEPTH, ALLELE_ALT_DEPTH),
.fns = replace_by_na, what = 0L
.fns = ~ replace_by_na(data = ., what = 0L)
)
)
} else {
genotypes.meta %<>%
dplyr::mutate(
dplyr::across(
.cols = "ALLELE_REF_DEPTH",
.fns = switch_allele_count, dart.group = FALSE
.fns = ~ switch_allele_count(x = ., dart.group = FALSE, ref = TRUE)
)
) %>%
dplyr::mutate(
Expand All @@ -1290,7 +1290,7 @@ dart2gds <- function(


# genotypes array ----------------------------------------------------------
if (gt.vcf) {
if (gt.vcf) {
genotypes.meta %<>%
dplyr::mutate(
GT_VCF = dplyr::case_when(
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ state and is being actively
developed.](http://www.repostatus.org/badges/latest/active.svg)](http://www.repostatus.org/#active)
[![minimal R
version](https://img.shields.io/badge/R%3E%3D-NA-6666ff.svg)](https://cran.r-project.org/)
[![packageversion](https://img.shields.io/badge/Package%20version-1.3.0-orange.svg)](commits/master)
[![Last-changedate](https://img.shields.io/badge/last%20change-2024--02--25-brightgreen.svg)](/commits/master)
[![packageversion](https://img.shields.io/badge/Package%20version-1.3.1-orange.svg)](commits/master)
[![Last-changedate](https://img.shields.io/badge/last%20change-2024--04--23-brightgreen.svg)](/commits/master)
[![R-CMD-check](https://github.com/thierrygosselin/radiator/workflows/R-CMD-check/badge.svg)](https://github.com/thierrygosselin/radiator/actions)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.3687060.svg)](https://doi.org/10.5281/zenodo.3687060)
<!-- badges: end -->
Expand Down
2 changes: 1 addition & 1 deletion docs/404.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/LICENSE.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/articles/get_started.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/articles/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/articles/life_cycle.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions docs/articles/rad_genomics_computer_setup.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/authors.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions docs/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 9 additions & 1 deletion docs/news/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ articles:
get_started: get_started.html
life_cycle: life_cycle.html
rad_genomics_computer_setup: rad_genomics_computer_setup.html
last_built: 2024-01-25T22:34Z
last_built: 2024-04-23T22:04Z

2 changes: 1 addition & 1 deletion docs/reference/Exposition_pipe_operator.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/allele_count.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/allele_frequencies.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/assign_defaults.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/bayescan_one.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/betas_estimator.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/blacklist_hw.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/boxplot_stats.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/calibrate_alleles.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/change_pop_names.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/check_args_class.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/check_dart.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 899436d

Please sign in to comment.