Skip to content

Commit

Permalink
not sure why I commented this out
Browse files Browse the repository at this point in the history
  • Loading branch information
karissawhiting committed Sep 15, 2023
1 parent 4d75bf4 commit 8aef07c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/subset-by-frequency.R
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ subset_by_frequency <- function(gene_binary, t = .1, other_vars = NULL) {

# Remove all NA columns ----------------------------------------------
all_na_alt <- apply(alt_only, 2, function(x) {
# sum(is.na(x)) == nrow(alt_only)
sum(is.na(x)) == nrow(alt_only)
})

all_non_na_alt <- names(all_na_alt[!all_na_alt])
Expand Down

0 comments on commit 8aef07c

Please sign in to comment.