Skip to content

Commit

Permalink
has_balanced_replicates bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
snaketron committed Apr 12, 2024
1 parent b6da936 commit dc7beaa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: IgGeneUsage
Type: Package
Title: Differential gene usage in immune repertoires
Version: 1.17.24
Version: 1.17.25
Authors@R:
person(given = "Simo",
family = "Kitanovski",
Expand Down
2 changes: 1 addition & 1 deletion R/utils_usage.R
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ get_usage <- function(u) {
}
individual_ids <- as.numeric(as.factor(individual_names))
replicate_ids <- as.numeric(as.factor(replicate_names))
tr <- table(replicate_ids)
tr <- table(paste0(individual_ids, '|', replicate_ids))
has_balanced_replicates <- ifelse(test = all(tr==tr[1]), yes=TRUE, no=FALSE)

cos <- get_condition_of_sample(sample_ids = sample_ids, m = m)
Expand Down

0 comments on commit dc7beaa

Please sign in to comment.