Learn R Programming

pagoda2 (version 1.0.12)

get.control.geneset: Get a control geneset for cell scoring using the method described in Puram, Bernstein (Cell, 2018)

Description

Get a control geneset for cell scoring using the method described in Puram, Bernstein (Cell, 2018)

Usage

get.control.geneset(data, signature, n.bins = 25, n.genes.per.bin = 100)

Value

a character vector that can be used as a background signature

Arguments

data

matrix of expression, rows are cell, columns are genes

signature

character vector The signature to evaluate, a character vector of genes

n.bins

numeric Number of bins to put the genes in (default=25)

n.genes.per.bin

numeric Number of genes to get from each bin (default=100)