groupFromCells: Create a group.id from a list of cells

Description Usage Arguments Value

View source: R/plot-cells.R

Description

This function will create a column in group.ids that identifies whether cells are part of a provided list of cells. This can be used to highlight a group of cells in any of URD's plotting functions.

Usage

1
groupFromCells(object, group.id, cells)

Arguments

object

An URD object

group.id

(Character) Name of the group.id to store.

cells

(Character vector) Name of cells in the group.

Value

Returns an URD object, with a column in @group.ids marked TRUE for cells in cells and FALSE for all other cells.


farrellja/URD documentation built on June 17, 2020, 4:48 a.m.