Skip to content

Commit

Permalink
Merge pull request #410 from ncborcherding/dev
Browse files Browse the repository at this point in the history
v2.0.7
  • Loading branch information
ncborcherding authored Sep 26, 2024
2 parents 3d6f326 + a0d87a0 commit a6d169f
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: scRepertoire
Title: A toolkit for single-cell immune receptor profiling
Version: 2.0.6
Version: 2.0.7
Authors@R: c(
person(given = "Nick", family = "Borcherding", role = c("aut", "cre"), email = "[email protected]"),
person(given = "Qile", family = "Yang", role = c("aut"), email = "[email protected]"),
Expand Down
6 changes: 6 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# scRepertoire VERSION 2.0.7

## UNDERLYING CHANGES
* Fixed issue with "group.by" in ```clonalOverlap()```
* Fixed issue with "group.by" in ```clonalCompare()```

# scRepertoire VERSION 2.0.6

## UNDERLYING CHANGES
Expand Down
5 changes: 5 additions & 0 deletions R/clonalCompare.R
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ clonalCompare <- function(input.data,
chain)
cloneCall <- .theCall(input.data, cloneCall)

sco <- is_seurat_object(input.data) | is_se_object(input.data)
if(!is.null(group.by) & !sco) {
input.data <- .groupList(input.data, group.by)
}

Con.df <- NULL

#Loop through the list to get a proportional summary
Expand Down
5 changes: 5 additions & 0 deletions R/clonalOverlap.R
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ clonalOverlap <- function(input.data,
}

cloneCall <- .theCall(input.data, cloneCall)

sco <- is_seurat_object(input.data) | is_se_object(input.data)
if(!is.null(group.by) & !sco) {
input.data <- .groupList(input.data, group.by)
}

num_samples <- length(input.data[])
names_samples <- names(input.data)
Expand Down
2 changes: 1 addition & 1 deletion R/clonalQuant.R
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ clonalQuant <- function(input.data,
.theCall(input.data, cloneCall, check.df = FALSE),
chain)
cloneCall <- .theCall(input.data, cloneCall)

sco <- is_seurat_object(input.data) | is_se_object(input.data)

if(!is.null(group.by) & !sco) {
input.data <- .groupList(input.data, group.by)
}
Expand Down

0 comments on commit a6d169f

Please sign in to comment.