set_xy: Set xy

Description Usage Arguments Examples

View source: R/set_xy.R

Description

This will set default X and Y coordinates based on the LEM results within reducedDim(sce)

Usage

1
set_xy(input, lem, x = "x", y = "y")

Arguments

input

the input sce

lem

the LEM within reducedDims

x

The x values for 2D representation. Can be character x or a numeric column of sampleFactors(lem)

y

The y values for 2D representation. Can be character y or a numeric column of sampleFactors(lem)

Examples

1
sce <- set_xy(input = sce, lem = "iPCA", x = "x", y = "y")

kgellatl/SignalCell documentation built on Sept. 3, 2020, 8:45 a.m.