run_reduce_umap {mxnorm} | R Documentation |
Run UMAP dimension reduction algorithm on an mx_dataset
object.
Description
Run UMAP dimension reduction algorithm on an mx_dataset
object.
Usage
run_reduce_umap(
mx_data,
table,
marker_list,
downsample_pct = 1,
metadata_cols = NULL
)
Arguments
mx_data |
|
table |
dataset in |
marker_list |
list of markers in the |
downsample_pct |
double, optional percentage (0, 1] of sample rows to include when running UMAP algorithm. (default=1) |
metadata_cols |
other identifiers of the input |
Value
mx_dataset
object with analysis results of UMAP dimension results in umap_data
table
Examples
mx_data = mx_dataset(mxnorm::mx_sample, "slide_id", "image_id",
c("marker1_vals","marker2_vals","marker3_vals"),
c("metadata1_vals"))
mx_data = mx_normalize(mx_data, transform="log10",method="None")
mx_data = run_reduce_umap(mx_data, table="normalized",
c("marker1_vals","marker2_vals","marker3_vals"))
[Package mxnorm version 1.0.3 Index]