ginkgo
ginkgo copied to clipboard
Individual MAD score with command line (standalone)
I am running analyze-subset.R
command for individual MAD scores, but it gives the following error
Error in FUN(left, right) : non-numeric argument to binary operator
Calls: sweep -> Ops.data.frame -> eval -> eval
Execution halted
The data
file inside new_run_123
contains the list of bed.gz
files. I have put bed.gz
files for 35 cells inside the data
file. Could you please confirm if it is correct? I guess that I am doing something wrong for the content of data
file because when I printed the number of bins and number of samples (shown below) , it gives 35 1
.
raw = read.table('data', header=TRUE, sep="\t")
l = dim(raw)[1] # Number of bins
w = dim(raw)[2] # Number of samples
#
print(dim(raw))
print(l)
print(w)