EmbedContours: Embeds data for generating elliptical contours to mark areas...

Description Usage Arguments Value

View source: R/swne_plotting.R

Description

Embeds data for generating elliptical contours to mark areas where features are present

Usage

1
2
EmbedContours(swne.embedding, contour.feature, sample.coords = NULL,
  levels.use = NULL, cutoff.use = NULL)

Arguments

swne.embedding

Existing swne embedding from EmbedSWNE

contour.feature

Feature to draw confidence ellipse for, either a factor or numeric vector

sample.coords

Sample coordinates to use (default is the sample coordinates from the swne embedding)

cutoff.use

If contour.feature is numeric, the cutoff to use to binarize the vector for defining the contour

levels.plot

If contour.feature is a factor, specify a subset of levels to generate contours for

Value

swne.embedding with contour coordinates added


yanwu2014/swne documentation built on Dec. 18, 2018, 2:39 a.m.