Skip to content

Add getFeatureIndices - #186

Open
0xMuluh wants to merge 7 commits into
develfrom
variability
Open

0xMuluh wants to merge 7 commits into
develfrom
variability

Conversation

@0xMuluh

@0xMuluh 0xMuluh commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

Part of #182.

@antagomir

Copy link
Copy Markdown
Member

Could we rename this into getFeatureIndices() or getRowIndex()?

@0xMuluh 0xMuluh changed the title Add getVariability Add getFeatureIndices Nov 16, 2026
@0xMuluh

0xMuluh commented Nov 16, 2026

Copy link
Copy Markdown
Contributor Author

Renamed to getFeatureIndices() and addFeatureIndices().

Comment thread R/getFeatureIndices.R
#' Calculates indices that describe how the abundance of each feature varies
#' over the samples, for example over time within each subject: how much
#' (variance, coefficient of variation), in what form (skewness, kurtosis,
#' bimodality) and how persistently (stability). These are the feature-level

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if this is true

These are the feature-level
#' counterparts of the sample-level indices of
#' \code{\link[mia:addAlpha]{getAlpha()}}.

@TuomasBorman

Copy link
Copy Markdown
Collaborator

"index" sounds like integer value describing position of each feature.

One option could be getDynamics.

Also, are getBimodality and getStability anymore needed? It might be confusing if there is multiple ways to calculate same thing. Those functions also require time.col for providing time points, which also might be confusing as the require input is different for different "indices".

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants