"coerce-methods" {rflowcyt} | R Documentation

## Coercing an object class to another class

### Description

This method will coerce an object to a specific class using the following call:

`as("class", object)`

where "class" is a specific class detailed below, and 'object' is the specific object to be coerced.

### Methods

from = "ANY", to = "array"
  Coercion or force "ANY" object into "array" object
from = "ANY", to = "call"
  Coercion or force "ANY" object into "call" object
from = "ANY", to = "character"
  Coercion or force "ANY" object into "character" object
from = "ANY", to = "complex"
  Coercion or force "ANY" object into "complex" object
from = "ANY", to = "environment"
  Coercion or force "ANY" object into "environment" object
from = "ANY", to = "expression"
  Coercion or force "ANY" object into "expression" object
from = "ANY", to = "function"
  Coercion or force "ANY" object into "function" object
from = "ANY", to = "integer"
  Coercion or force "ANY" object into "integer" object
from = "ANY", to = "list"
  Coercion or force "ANY" object into "list" object
from = "ANY", to = "logical"
  Coercion or force "ANY" object into "logical" object
from = "ANY", to = "matrix"
  Coercion or force "ANY" object into "matrix" object
from = "ANY", to = "name"
  Coercion or force "ANY" object into "matrix" object
from = "ANY", to = "numeric"
  Coercion or force "ANY" object into "numeric" object
from = "ANY", to = "single"
  Coercion or force "ANY" object into "single" object
from = "ANY", to = "ts"
  Coercion or force "ANY" object into "ts" object
from = "ANY", to = "vector"
  Coercion or force "ANY" object into "vector" object
from = "ANY", to = "NULL"
  Coercion or force "ANY" object into "NULL" object
from = "FCS", to = "matrix"
  Coercion or force "FCS" object into "matrix" object by returning only the data matrix of the "FCS" object
from = "FCS", to = "data.frame"
  Coercion or force "FCS" object into "data.frame" object by returning only the data data.frame of the "FCS" object
from = "matrix", to = "FCS"
  Coercion or force "matrix" object into "FCS" object by setting the "matrix" object as the 'data' slot and having a default 'metadata' slot of class "FCSmetadata".
from = "data.frame", to = "FCS"
  Coercion or force "data.frame" object into "FCS" object by setting the "data.frame" object as the 'data' slot and having a default 'metadata' slot of class "FCSmetadata".

[Package rflowcyt version 1.6.0 Index]