plotRatio: Plot ratio

View source: R/plotRatio.R

plotRatioR Documentation

Plot ratio

Description

plotRatio allows for a visualization of the segment ratios together with the ratios.

Usage

plotRatio(scCNA, sample_name = NULL)

Arguments

scCNA

The CopyKit object.

sample_name

Optional character vector with the name of the sample to be visualized

Details

plotRatio will return a ratio plot for the selected cell. If calcInteger was run and an 'integer' assay exists, plotRatio will color the ratio dots based on the copy number integer state of the segment automatically.

Value

Opens an app for interactive visualization of the ratio plots where the desired cell can be selected. If a 'sample_name' is provided, returns a ggplot object with the ratio plot for the selected cell.

Author(s)

Darlan Conterno Minussi

Examples

## Not run: 
copykit_obj <- copykit_example_filtered()
plotRatio(copykit_obj)

## End(Not run)


navinlabcode/copykit documentation built on Sept. 22, 2023, 9:16 a.m.