rankBasedMatrixSegmentation: rank-based segmentation of a matrix

View source: R/multiscaleSVDxpts.R

rankBasedMatrixSegmentationR Documentation

rank-based segmentation of a matrix

Description

rank-based segmentation of a matrix

Usage

rankBasedMatrixSegmentation(
  v,
  sparsenessQuantile,
  basic = FALSE,
  positivity = "positive",
  transpose = FALSE
)

Arguments

v

input matrix

sparsenessQuantile

a value in zero to one

basic

simplest keep top k-entries in each row

positivity

one of positive, negative, either

transpose

work on the transpose

Value

matrix

Author(s)

Avants BB

Examples


mat <- matrix(1:200, nrow = 10)
matr <- rankBasedMatrixSegmentation(mat, 0.9, basic = FALSE, positivity = "positive")


stnava/ANTsR documentation built on April 16, 2024, 12:17 a.m.