Hello, just found out emptyNN tool however I am confused about the input. When I am using count matrix without transpoze (when rows are genes, are columns are cell barcodes) everything works fine. But when I will transpoze it as described here, it results in an error
Error in emptynn(t(counts)) :
Please transpose counts matrix before running EmptyNN
rows are barcodes, columns are genes
Am I doing something wrong, or there such an issue under the package?
Error in emptynn(t(counts)) :
Please transpose counts matrix before running EmptyNN
rows are barcodes, columns are genes
Working:
nn.res <- emptynn(counts,
threshold = 100,
k = 10,
iteration = 5,
verbose = TRUE)
[1] "there are 5789 in P set"
[1] "there are 9898 in U set"
[1] "Samples in U set were split into 5 folds"
[1] "data normalization"
[1] "start training"
[1] "iteration 1"
[1] "training fold 1"
Hello, just found out emptyNN tool however I am confused about the input. When I am using count matrix without transpoze (when rows are genes, are columns are cell barcodes) everything works fine. But when I will transpoze it as described here, it results in an error
Am I doing something wrong, or there such an issue under the package?
Code I am using below:
Not working:
Working:
Thank you in advance for explanation!