pospos_neg.label: Label a group of cells positive or negative for a group of...

Description Usage Arguments Value Examples

View source: R/group_labels.R

Description

Label a group of cells positive or negative for a group of two genes

Usage

1
2
pospos_neg.label(df, rowname.x1, rowname.x2, x1 = 100, x2 = 100,
  x1.limit = 0, x2.limit = 0, posname = "pos", negname = "neg")

Arguments

df

A data frame

rowname.x1

The name of a gene(row) to be measured for hits in provided cells

rowname.x2

The name of a gene(row) to be measured for hits in provided cells

x1

The minimum number of hits required to label a cell positive for the expression of a particular gene (default: 100)

x2

The minimum number of hits required to label a cell positive for the expression of a particular gene (default: 100)

x1.limit

The maximum number of hits of the gene defined by rowname.x1 that is allowed to be present in a negative cell (default: 0)

x2.limit

The maximum number of hits of the gene defined by rowname.x2 that is allowed to be present in a negative cell (default: 0)

posname

The string to label cells that are determined to be positive (default: "pos")

negname

The string to label cells that are determined to be negative (default: "neg")

Value

A named character vector that contains posname and negname, and alls cells that do not qualify as either are omitted

Examples

1
2
3
pos_neg.label(df = Fincher, rowname = "dd_Smed_v4_12111_0_1", x1 = 110,
              x2 = 90, x1.limit = 10, x2.limit = 10, posname = "slit_pos",
              negname = "slit_neg")

adamnc2/simpleSCDE documentation built on May 7, 2019, 7:40 a.m.