Skip to content

Commit

Permalink
fix: ensure compatibility between DataFrame and tibble
Browse files Browse the repository at this point in the history
Signed-off-by: Ali Sajid Imami <395482+AliSajid@users.noreply.github.com>
  • Loading branch information
AliSajid committed Jun 17, 2024
1 parent 5248ea9 commit 99cd47d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export(investigateSignature)
export(investigateTarget)
export(prepareSignature)
import(lifecycle)
importFrom(S4Vectors,DataFrame)
importFrom(dplyr,across)
importFrom(dplyr,any_of)
importFrom(dplyr,arrange)
Expand Down
3 changes: 2 additions & 1 deletion R/getSignature.R
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ getSignature <- function(sigId, l1000 = TRUE) {
Significance_pvalue = round(.data[["Significance_pvalue"]], 12L)
)
signature %>%
S4Vectors::DataFrame()
S4Vectors::DataFrame() %>%
as_tibble()
} else {
stop(httr::status_code(request), " ", httr::content(request))
}
Expand Down

0 comments on commit 99cd47d

Please sign in to comment.