transform_coordinates: Convert coordinates

View source: R/plot_circlize.R

transform_coordinatesR Documentation

Convert coordinates

Description

This function converts the Cartesian coordinates to Polar coordinates. Input data can be the coordinates from tSNE or UMAP. It outputs a matrix with polar coordinates.

Usage

transform_coordinates(coord_data, zoom)

Arguments

coord_data

Cartesian coordinates from tSNE, UMAP, etc.

zoom

Value from c(0,1) to adjust the coordinates.

Value

A matrix with polar coordinates


HaojiaWu/plot1cell documentation built on Nov. 13, 2023, 9:20 a.m.