selectCellsinPlot: Select cells from a plot

Description Usage Arguments Value Author(s) See Also

View source: R/function_selectCellsinPlot.R

Description

It allows you to select cells from a plot and it returns a vector of cell names or indices. Select your points by left clicking, and then right clicking to close the polygon.

Usage

1

Arguments

data

matrix or dataframe with x and y in columns 1 and 2, respectively. Ideally, the rownames should correspond to the cell names.

colors

row vector with the colors for the data. The indices between the data and the colors should match. Default: All points will be black.

pch

Type of point in plot. Default: 20.

...

Other additional features for plot.

Value

Vector of cells.

Author(s)

Blanca Pijuan Sala.

See Also

fhs.


BPijuanSala/anSeq documentation built on Oct. 10, 2018, 7:20 p.m.