Skip to content

Commit

Permalink
updated_v19
Browse files Browse the repository at this point in the history
  • Loading branch information
KJeynesCupper committed Feb 26, 2024
1 parent a16fee0 commit ecfb405
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: mobileRNA
Type: Package
Title: mobileRNA: Investigate the RNA mobilome & population-scale changes
Version: 0.99.18
Version: 0.99.19
Authors@R: c(person("Katie", "Jeynes-Cupper",
email = "kej031@student.bham.ac.uk", role = c("aut", "cre"),
comment = c(ORCID = "0009-0000-1350-1371")),
Expand Down
3 changes: 3 additions & 0 deletions R/RNAsequences.R
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ RNAsequences <- function(data, original = FALSE, method = c("consensus", "set"),
stop("data is missing. data must be an object of class matrix, data.frame,
DataFrame")
}
if (base::missing(method) || method %in% c("consensus", "set")) {
stop("Please specify the method parameter, must be either `consensus` or`set`. ")
}
df <- data %>% # select only columns with RNA seqs, remove columns with only NA values
dplyr::select(dplyr::starts_with("MajorRNA")) %>%
dplyr::select(-dplyr::where(~all(. == "N")))
Expand Down
5 changes: 5 additions & 0 deletions inst/NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# mobileRNA 0.99.19

* Missing connective in RNAfeatures when using repeats variable.
* Added additional check for RNAsequences methods.

# mobileRNA 0.99.17

* Corrected ORCID references for authors
Expand Down

0 comments on commit ecfb405

Please sign in to comment.