Closed howardbaik closed 4 months ago
We must have just switched an ncol
and an nrow
at some point, but hopefully PR #29 addresses this and fixes it
PR https://github.com/FredHutch/gimap/pull/29 fixed the above error message, but now we have another error:
> gimap_dataset <- setup_data(counts = example_counts)
Error in if (!(nrow(unique(pg_ids[, 1])) == nrow(pg_ids[, 1]))) stop("The paired guide IDs must be a unique ID") :
argument is of length zero
nrow
is returning NULLs. Switched them for length
functions instead
@kweav @cansavvy
After https://github.com/FredHutch/gimap/pull/27 was merged, I was hoping to run the example code for
setup_data()
. I ran the code to fetch/setup the example data and assign it toexample_counts
. Then, I ransetup_data(counts = example_counts)
and now encounter a different error message: