estimCovCellGeneral: estimCovCellGeneral

Description Usage Arguments Value Examples

View source: R/estimCovCellGeneral.R

Description

Estimation of mean and covariance for a label in a partition.

Usage

1
estimCovCellGeneral(cell, cytometry, labels, type = "standard", alpha = 0.85)

Arguments

cell

Labell of the clsuter of interest.

cytometry

Data of the partition, without labels.

labels

Labels of the partition.

type

How to estimate covariance matrices of a cluster. 'standard' is for using cov(), while 'robust' is for using robustbase::covMcd.

alpha

Only when type = 'robust'. Indicates the value of alpha in robustbase::covMcd.

Value

A list containing:

mean

Mean of the cluster.

cov

Covariance of the cluster.

weight

Weight associated to the cluster.

type

Type of the cluster.

Examples

1
estimCovCellGeneral('Basophils', Cytometry1[,1:10], Cytometry1[,11])

HristoInouzhe/optimalFlow documentation built on April 24, 2020, 4:31 a.m.