get_frequency {segmenter} | R Documentation |
Get the frequency of the segments in each cell type
get_frequency(segments, normalize = FALSE, tidy = FALSE, plot = FALSE, ...)
segments |
A |
normalize |
A logical. Whether the frequency should be normalized by the total number of segments |
tidy |
A logical. |
plot |
A logical. |
... |
Other arguments passed to barplot |
A data.frame
when tidy is TRUE otherwise a matrix or a plot
get_frequency(segment(test_obj)) get_frequency(segment(test_obj), normalize = TRUE)