Open kanekalla opened 3 years ago
Hi @kanekalla, thanks for your interest in our method! That could be the issue if you're using SeuratToExpressionSet()
with _
as the delimiter. If all of your individuals begin with "10X" then it won't be able to differentiate them. One workaround would be to replace the third underscore with a dash and use that as the delimiter or to manually make the expression set.
Thank you @brandonjew , I fixed the row names.
Now I am observing the following error.
Error in BisqueRNA::ReferenceBasedDecomposition(bulk.eset, sc.eset, markers = NULL, : Zero genes left for decomposition.
I tried to evaluate the output from GenerateSCReference(sc.eset, cell.types='cellType')
it has all NA's in the resulting matrix.
AT2 circMono club_nec_at1_unknwn DC_IM invading_monoc multiciliated_cells
Xkr4 NA NA NA NA NA NA
Rp1 NA NA NA NA NA NA
Sox17 NA NA NA NA NA NA
Mrpl15 NA NA NA NA NA NA
Lypla1 NA NA NA NA NA NA
Tcea1 NA NA NA NA NA NA
Rgs20 NA NA NA NA NA NA
Can you kindly look into the issue ?
Hi @kanekalla, what do the following commands return:
table(sc.eset[["SubjectName"]])
table(sc.eset[["cellType"]])
sum(is.na(sc.eset[["SubjectName"]]))
sum(is.na(sc.eset[["cellType"]]))
Thanks!
table(sc.eset[["SubjectName"]])
3-F-56 3-F-57 3-M-5/6 3-M-7/8 621 1520 784 2524
table(sc.eset[["cellType"]])
AT2 circMono club_nec_at1_unknwn DC_IM invading_monoc multiciliated_cells 89 220 45 87 161 49
sum(is.na(sc.eset[["SubjectName"]]))
0
sum(is.na(sc.eset[["cellType"]])
)
[1] 4798
head(sc.eset[["cellType"]],10)
[1] DC_IM
I guess the cellType is having NA's is that causing the problem ?
Thanks !!
Hi @brandonjew ,
I am trying to use reference-based decomposition to deconvolute bulk samples. res <- BisqueRNA::ReferenceBasedDecomposition(bulk.eset, sc.eset, markers=NULL, use.overlap=FALSE)
I am getting the following error:
Is it because of the cell type naming issues ? Checked the column names for sc reference input: 10X_P7_9_CACACAAAGTAGGTGC" "10X_P7_9_CACACAAAGTCCGGTC" "10X_P7_9_CACACAATCCGAGCCA" "10X_P7_9_CACACAATCTTTACGT" "10X_P7_9_CACACCTCAGGATCGA" "10X_P7_9_CACACCTGTCTAGAGG" "10X_P7_9_CACACCTTCCAATGGT" "10X_P7_9_CACACTCAGTCGATAA" "10X_P7_9_CACACTCCACCTCGTT"
Thank you for your help !!