plotRatio | R Documentation |
plotRatio allows for a visualization of the segment ratios together with the ratios.
plotRatio(scCNA, sample_name = NULL)
scCNA |
The CopyKit object. |
sample_name |
Optional character vector with the name of the sample to be visualized |
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.
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.
Darlan Conterno Minussi
## Not run:
copykit_obj <- copykit_example_filtered()
plotRatio(copykit_obj)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.