Hi there,
Thanks again for a great package.
In the tutorial (https://bioconductor.org/books/release/SingleRBook/using-multiple-references.html#using-harmonized-labels), the gene from references are determined via getClassicMarkers() for use when de.method="classic".
com.markers <- getClassicMarkers(
ref = list(BPE=bpe.ont, HPCA=hpca.ont),
labels = list(bpe.ont$label.ont, hpca.ont$label.ont))
com.res3b <- SingleR(test = pbmc, assay.type.test=1,
ref = list(BPE=bpe.ont, HPCA=hpca.ont),
labels = list(bpe.ont$label.ont, hpca.ont$label.ont),
genes = list(com.markers, com.markers))
table(Label=com.res3b$labels, Reference=com.res3b$reference)
Q1. If I want to use de.method="wilcox", would you mind giving me how to modify the code?
Q2. And, is it appropriate to use com.markers from getClassicMarkers() in `SingleR(... de.method="wilcox"...) or really com.markers should only be used for de.method="classic"?
Thank you again!