WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Example of using harmonised labels for de.method="wilcox" instead of classic marker detection #247

@denvercal1234GitHub

Description

@denvercal1234GitHub

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions