Selection of VGM[[1]]/VDJ data of the x more expanded clonotypes.

Spatial_selection_expanded_clonotypes(nb_clonotype, vgm_VDJ)

Arguments

nb_clonotype

Number that describes how many clonotypes we want to extract from the VGM[[1]].

vgm_VDJ

Data frame containing VDJ information, found in the vgm made by platypus. It must have x and y coordinates column and the column containing the factor to plot.

Value

Returns a data frame with only the data belonging to the number of selected clonotypes. The clonotypes being the most expanded ones.

Examples

if (FALSE) {
top_5_VDJ_data<-Spatial_selection_expanded_clonotypes(nb_clonotype = 5, vgm_VDJ = vgm$VDJ)
}