Remove redundant casting
This commit is contained in:
parent
762791829a
commit
d5bf8f3b72
|
@ -14,9 +14,9 @@ amplify_rows <- function(data, column, factor) {
|
|||
if (column == "sequence") {
|
||||
dna_string <- Biostrings::DNAStringSet(data)
|
||||
reverse_complement <- Biostrings::reverseComplement(dna_string)
|
||||
return(Biostrings::DNAStringSet(rep(reverse_complement, factor)))
|
||||
return(rep(reverse_complement, factor))
|
||||
}
|
||||
return(as.character(rep(data, factor)))
|
||||
return(rep(data, factor))
|
||||
}
|
||||
|
||||
save_data <- function(data, name) {
|
||||
|
|
Loading…
Reference in New Issue