r2julia_sort: r2julia_sort

Description Usage Arguments Value Examples

View source: R/CoreMethods.R

Description

make a index for a given list order

Usage

1
r2julia_sort(r_list, julia_list, Index = TRUE)

Arguments

r_list

list that want to change

julia_list

target list

Index

TRUE if the result should be an index for r_list. FALSE if the result should be the changed list or r_list

Value

index or changed list of r_list

Examples

1
2
3
4
r_list
new_list
new_index <- r2julia_sort(r_list, new_list)
r_list_new <- r_list[new_index]

hemberg-lab/sctransfermap documentation built on Nov. 11, 2019, 6:23 a.m.