If you're happy and you know it, syntax error!
authorPaul Hoffman <phoffman@nygenome.org>
Wed, 13 Dec 2017 19:32:44 +0000 (14:32 -0500)
committerPaul Hoffman <phoffman@nygenome.org>
Wed, 13 Dec 2017 19:32:44 +0000 (14:32 -0500)
R/loom.R

index 2fd3fd9b13dae5f9c8cd6acaf864995e8503ef15..680d868fed69e51da38e6f261703bb934695e959 100644 (file)
--- a/R/loom.R
+++ b/R/loom.R
@@ -1014,7 +1014,7 @@ subset.loom <- function(
     }
     for (row.attr in row.attrs) {
       base.row <- basename(path = row.attr)
-      new.loom$add.row.attribute(attribute = base.row = x[[row.attr]][m]))
+      new.loom$add.row.attribute(attribute = list(base.row = x[[row.attr]][m]))
       if (display.progress) {
         counter <- counter + 1
         setTxtProgressBar(pb = pb, value = counter / length(x = row.attrs))