Visualise random splices
visualise_sample_splices.Rd
Visualise random splices
Usage
visualise_sample_splices(
splicing_df,
splicing_list,
jv,
overlay = TRUE,
avoid_splice_list = list(),
unstack = FALSE
)
Arguments
- splicing_df
Splice
object.- splicing_list
a list of
Splice
objects.- jv
JoinedView
object.- overlay
overlay the segments for a density plot?
- avoid_splice_list
list of
Splice objects
that determine times not to sample.- unstack
overlay segments on top of each other? (default is FALSE).
See also
Other statistical and analysis functions:
apply_column_spliceview()
,
apply_segment_spliceview()
,
ave_cross_power_over_splices()
,
ave_cross_power_spliceview()
,
ave_power_over_splices()
,
ave_power_spliceview()
,
calculate_ave_cross_power1()
,
calculate_ave_power1()
,
compare_ave_cross_power1()
,
compare_ave_power1()
,
compare_avg_cross_power2()
,
compare_avg_power2()
,
difference_onsets()
,
pull_segment_spliceview()
,
sample_gap_splice()
,
sample_offset_splice()
,
summary_onsets()
Examples
r <- get_sample_recording()
fv_list <- get_filtered_views(r, data_points = 'Nose', n = 41, p = 3)
jv <- get_joined_view(fv_list)
splicing_df <- splice_time(list(a = c(0, 5), b = c(10, 15)))
splicing_list <- sample_offset_splice(splicing_df, jv, num_splices = 20)
#> Accepted splices: 13
#> Accepted splices: 28
visualise_sample_splices(splicing_df, splicing_list, jv)