get_cell_type_proportions {tidybulk}R Documentation

Get cell type proportions from cibersort

Description

Get cell type proportions from cibersort

Usage

get_cell_type_proportions(
  .data,
  .sample = NULL,
  .transcript = NULL,
  .abundance = NULL,
  reference = NULL,
  method = "cibersort",
  prefix = "",
  ...
)

Arguments

.data

A tibble

.sample

The name of the sample column

.transcript

The name of the transcript/gene column

.abundance

The name of the transcript/gene abundance column

reference

A data frame. The transcript/cell_type data frame of integer transcript abundance

method

A character string. The method to be used. At the moment Cibersort (default) and llsr (linear least squares regression) are available.

prefix

A character string. The prefix you would like to add to the result columns. It is useful if you want to reshape data.

...

Further parameters passed to the function Cibersort

Value

A tibble including additional columns


[Package tidybulk version 1.5.0 Index]