pos_pos.label: Label a group of cells positive for one of two genes

Description Usage Arguments Value Examples

View source: R/group_labels.R

Description

Label a group of cells positive for one of two genes

Usage

1
2
pos_pos.label(df, rowname.x, rowname.y, x = 100, y = 100, x.limit = 0,
  y.limit = 0, posname.x = "pos_x", posname.y = "pos_y")

Arguments

df

A data frame

rowname.x

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

rowname.y

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

x

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

y

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

x.limit

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

y.limit

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

posname.x

The string to label cells that are determined to be positive for rowname.x (default: "pos_x")

posname.y

The string to label cells that are determined to be positive for rowname.y (default: "pos_y")

Value

A named character vector that contains posname.x and posname.y, and all cells that do not qualify as positive or negative are omitted

Examples

1
2
3
pos_neg.label(df = Fincher, rowname.x = "dd_Smed_v4_12111_0_1",
              rowname.y = "dd_Smed_22585_0_1", x = 100, y = 150 x.limit = 10,
             y.limit = 20, posname.x = "slit_pos", posname.y = "zic_pos")

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