Return the first n recurrent events
rank.recurrents(x, n)
the first n recurrent events
data(test_dataset)
dataset = rank.recurrents(test_dataset, 10)
#> Warning: Rank contains 9 unique entries, using n = 9 instead of n = 10
#> Most recurrent(s): SETBP1 (14 hits).
#> 9-th recurrent(s): EZH2, KRAS_Ex2_3, IDH2_R140, SF3B1_Ex_12_15, JARID_2_Ex1_18, EED_Ex2_12, CEBPA, EPHB3, ETNK1, GATA2, IRAK4, MTA2, WT1, RUNX_1, EZH2 (1 hits).