Skip to content

Commit

Permalink
Add package:: before colData to avoid no visible function.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gene233 committed Mar 26, 2024
1 parent 03dc19f commit b958720
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ Collate:
'tf_idf_iae_wrappers.R'
'score.R'
'AllGenerics.R'
'smartid-package.R'
'gs_score-methods.R'
'plot.R'
'scale_mgm.R'
'smartid-package.R'
'score-methods.R'
'select_markers.R'
'top_markers.R'
Expand Down
7 changes: 5 additions & 2 deletions R/gs_score-methods.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#' @include score.R smartid-package.R
#' @include score.R
NULL

#' @rdname gs_score
Expand Down Expand Up @@ -64,7 +64,10 @@ setMethod(
## compute score
score <- gs_score(data = expr, features = features, suffix = suffix)

colData(data) <- cbind(colData(data), score)
SummarizedExperiment::colData(data) <- cbind(
SummarizedExperiment::colData(data),
score
)

return(data)
}
Expand Down

0 comments on commit b958720

Please sign in to comment.