calcTSNE: Calculates the bhSNE from a melted data table

Description Usage Arguments Value

View source: R/library.R

Description

Calculates the bhSNE from a melted data table

Usage

1
2
3
4
calcTSNE(input_dat, channels, value_var = "counts",
  channel_var = "channel", id_var = "id", group_var = "condition",
  scale = F, subsample_groups = F, subsample_mode = "equal",
  verbose = T, dims = 2, multicore = NULL, ...)

Arguments

input_dat

melted data_table

channels

list of channels to be Used

value_var

column to be used as values

channel_var

column with the channel names

id_var

column name for the unique cell ID

group_var

variable that groups the table

scale

should the input data be rescaled?

subsample_groups

T: resamples all groups to the group with the least members, Integer: resamples all groups to the integer

subsample_mode

'equal': if integer provided to resample_groups all groups will contain min(resample_groups, min_groupsize) cells 'unequal': if integer provided to resample_groups, all groups will contain maximally resample_groups cells (or less) 'fraction': subsamples a fraction of the cells to get the total amount of cells indicated in subsample_groups

verbose

should bhSne be verbose?

dimsd

number of dimensions

Value

tsne object


BodenmillerGroup/bbRtools documentation built on May 20, 2020, 1:36 a.m.