sankey_plot: Plotting the sankey graph.

View source: R/scLearn.R

sankey_plotR Documentation

Plotting the sankey graph.

Description

Plotting the sankey graph.

Usage

sankey_plot(predict_result, sample_information_reference, plot = FALSE)

Arguments

predict_result

A data frame showing the predicted result from function "scLearn_predict".

sample_information_reference

A character vector showing the cell type of each reference sample. The column name of the vector is the sample name.

plot

FALSE by default. If TRUE, plot the graph.

Value

A data frame showing the predicted result after a little modification.

Author(s)

Bin Duan


bm2-lab/scLearn documentation built on Dec. 17, 2024, 8:18 p.m.