Get pairwise feature association statistics for a project's informative features
GetFeatureAssociationMatrix(project, associationType, metric)
A list with two items:
features data.frame. A data.frame containing the following info for each feature:
alphabeticSortIndex integer. A number representing the alphabetical order of this feature compared to the other features in this dataset.
feature character. The name of the feature.
importanceSortIndex integer. A number ranking the importance of this feature compared to the other features in this dataset.
strengthSortIndex integer. A number ranking the strength of this feature compared to the other features in this dataset.
strengths data.frame. A data.frame of pairwise strength data, with the following info:
feature1 character. The name of the first feature.
feature2 character. The name of the second feature.
statistic numeric. Feature association statistics for `feature1` and `feature2`.
character. Either (1) a character string giving the unique alphanumeric identifier for the project, or (2) a list containing the element projectId with this identifier.
character. The type of association, must be either "association" or "correlation".
character. The specified association metric, must be one of "mutualInfo", "cramersV", "spearman", "pearson", or "tau".
if (FALSE) {
projectId <- "59a5af20c80891534e3c2bde"
GetFeatureAssociationMatrix(projectId)
}
Run the code above in your browser using DataLab