You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
scp <- getFeatureSpace(scp, pVar = "cell_type2")
|++++++++++++++++++++++++++++++++++++++++++++++++++| 100% elapsed=01s
Error in [[<-(*tmp*, names(res)[noFeatures], value = NULL) :
no such index at level 2
In addition: Warning message:
In getFeatureSpace(scp, pVar = "cell_type2") :
Warning: No features were found for classes:
Columella
Epi
LRC
Peri
Warning: No features were found for classes:
CD4T
CD8T
eosinophil
erythrocyte
myeloid.lineage.restricted.progenitor.cell
natural.killer.cell
Error in `[[<-`(`*tmp*`, names(res)[noFeatures], value = NULL) :
no such index at level 2
Dear scPred Team,
Thanks for the tool!
I was trying to use the tool with a Arabidopsis dataset. However getting a no cell id match error. Any suggestion to avoid the error?
pollen_counts <- mat
pollen_cpm <- apply(pollen_counts, 2, function(x) (x/sum(x))*1000000)
tb<-read.table("E:/new/testscpred")
pollen_metadata <- as.data.frame(tb)
colData(pollen)
table(pollen_metadata$Cell_type)
head(pollen)
set.seed(1234)
i <- createDataPartition(pollen_metadata$Cell_type, p = 0.70, list = FALSE)
train_data <- pollen_cpm[, i]
test_data <- pollen_cpm[, -i]
train_info <- pollen_metadata[i, , drop = FALSE]
test_info <- pollen_metadata[-i, , drop = FALSE]
set.seed(1234)
scp <- eigenDecompose(train_data, n = 10)
scPred::metadata(scp) <- train_info
The text was updated successfully, but these errors were encountered: