ListToDataframe: Transform a list to a dataframe

View source: R/DataProcessing.R

ListToDataframeR Documentation

Transform a list to a dataframe

Description

Transform a list to a dataframe for visualization.

Usage

ListToDataframe(l, type)

Arguments

l

A list of AUPRCs or AUROCs of different doublet-detection methods on multiple datasets.

type

A charactor of "boxplot", "lineplot", "heatmap", "barplot", or "distributed" that refer to different format.

Value

A dataframe with approriate format for visualization.

Examples

result.auprc <- ListToDataframe(auprc.list.all, 'boxplot')
result.auroc <- ListToDataframe(auroc.list.all, 'boxplot')


xnnba1984/DoubletCollection documentation built on Dec. 10, 2022, 11:13 a.m.