Skip to content

Commit

Permalink
get_motif_seq.R: Removed redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
renewiegandt committed Jan 28, 2019
1 parent e2494a0 commit 170ca1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/2.2_motif_estimation/get_motif_seq.R
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ create_seq_json <- function(input, output, num, tmp_path, cluster_id) {

# Create json file
## naming
names(datalist) <- paste0(c("Motif_", "Motif_", "Motif_"),seq(1,as.numeric(num),1) , " Cluster_", cluster_id)
names(datalist) <- paste0("Motif_", seq(1,as.numeric(num),1), " Cluster_", cluster_id)
## creating json object
json <- RJSONIO::toJSON(datalist, pretty = T , .withNames = T)
## writing file
Expand Down

0 comments on commit 170ca1e

Please sign in to comment.