label_by_colnumbs: Label two groups of cells based on the contents of their...

Description Usage Arguments Value Examples

View source: R/group_labels.R

Description

Label two groups of cells based on the contents of their names

Usage

1
2
label_by_colnumbs(df, x.start, x.stop, y.start, y.stop, x.name = "group_x",
  y.name = "group_y")

Arguments

df

A data frame

x.start

Index of col.names at which to start first group of cells

x.stop

Index of col.names at which to stop first group of cells

y.start

Index of col.names at which to start first group of cells

y.stop

Index of col.names at which to stop first group of cells

x.name

String label for first cell group (default: "group_x")

y.name

String label for second cell group (default: "group_y")

Value

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

Examples

1
2
label_by_colnumbs(df = Fincher, x.start = 1, x.stop = 11, y.start = 12,
                  y.stop = length(colnames(planaria_cells))

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