Skip to contents

GetHighestMeasurement

GetSimilarFeatures

Usage

GetHighestMeasurement(organism, organ, feature, number, method)

GetHighestMeasurement(organism, organ, feature, number, method)

Arguments

organism

The organism you would like to query

organ

The organ you would like to query

feature

The feature to check (e.g. gene)

number

The number of similar features to return

method

The method used for the distance computation. Available methods are: "correlation" (default), "cosine", "euclidean", "manhattan", "log-euclidean".

Value

An array of cell types, organs, and averages for the cell types with the highest measurement for that feature

An array of features and their distance from the focal feature according to the method chosen.

Examples

GetHighestMeasurement("h_sapiens", "PTPRC", 5)
#> Error in GetHighestMeasurement("h_sapiens", "PTPRC", 5): argument "number" is missing, with no default
GetSimilarFeatures("h_sapiens", "Lung", "PTPRC", 5, "correlation")
#> Error in GetSimilarFeatures("h_sapiens", "Lung", "PTPRC", 5, "correlation"): could not find function "GetSimilarFeatures"