I cannot run through that code for kidney example, Error shows that
Error in object@norm.data[[2]][object@var.features[[2]], ] : invalid or not-yet-implemented 'Matrix' subsetting
loci seems to be a data frame with 4 columns and the selection requires one region annotation. I think you may miss some function like search_nearby_loci in MATLAB version.
I cannot run through that code for kidney example, Error shows that
loci
seems to be a data frame with 4 columns and the selection requires one region annotation. I think you may miss some function likesearch_nearby_loci
in MATLAB version.