create.MWEIGHTS: Creation of a MWEIGHTS object

Description Usage Arguments Details Value

Description

Creates a MWEIGHTS object based on a set of marker names, where all marker weights are set to 1.

Usage

1
create.MWEIGHTS(markers)

Arguments

markers

a character vector specifying the names of the markers

Details

This function is a short-cut to the following code:
markers <- c("marker1","marker2","marker3","markeri...","markern")
weights <- rep(1,length(markers))
mweights <- MWEIGHTS(markers=markers,weights=weights)

The weight of each marker is set to 1 but can be changed afterwards using the function set.

Value

a MWEIGHTS object containing the marker weights


tchitchek-lab/CytoCompare documentation built on May 31, 2019, 7:29 a.m.