View source: R/plot.reduced.dim.R
| plot.reduced.dim | R Documentation |
Plot of reduced dimensions and labels
## S3 method for class 'reduced.dim'
plot(
object,
reduction,
assay,
clust.method,
column,
pt.size = 0.5,
add.label = TRUE,
label.size = NULL,
cells = NULL,
order = NULL,
colours = c("Red", "Yellow", "Blue")
)
object |
An IBRAP S4 class object |
reduction |
Character. Which reduction to use to display points |
assay |
Character. Which assay within the object to access |
clust.method |
Character. Which clustering method to access, supply the name of any dataframe contained in the cluster_assignments sections. If you wish to access metadata, just specify 'metadata' |
column |
Character. Which column to access within the supplied clust.column |
pt.size |
Numeric. What should the point size be |
cells |
Numeric. Which cells should be subset for plotting, Default = NULL |
colours |
Vector. The first value will represent the lower value, the second the middle and the third the highest |
A plot of reduced dimensions annotated with assignments
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.