arithmetic-mass_dataset: log

log.mass_datasetR Documentation

log

Description

#' @title colSums #' @method colSums mass_dataset #' @param x x #' @param na.rm na.rm #' @param dims dims #' @export #' @rdname arithmetic-mass_dataset #' @return vector object

#' @title rowSums #' @method rowSums mass_dataset #' @param x x #' @param na.rm na.rm #' @param dims dims #' @export #' @rdname arithmetic-mass_dataset #' @return vector object

#' @title colMeans #' @method colMeans mass_dataset #' @param x x #' @param na.rm na.rm #' @param dims dims #' @export #' @rdname arithmetic-mass_dataset #' @return vector object

#' @title rowMeans #' @method rowMeans mass_dataset #' @param x x #' @param na.rm na.rm #' @param dims dims #' @export #' @rdname arithmetic-mass_dataset #' @return vector object

Usage

## S3 method for class 'mass_dataset'
log(x, base = exp(1))

## S3 method for class 'mass_dataset'
abs(x)

## S3 method for class 'mass_dataset'
sqrt(x)

## S3 method for class 'mass_dataset'
scale(x, center = TRUE, scale = TRUE)

## S4 method for signature 'mass_dataset,numeric'
e1 + e2

## S4 method for signature 'mass_dataset,numeric'
e1 - e2

## S4 method for signature 'mass_dataset,numeric'
e1 * e2

## S4 method for signature 'mass_dataset,numeric'
e1 / e2

## S4 method for signature 'mass_dataset,numeric'
e1 > e2

## S4 method for signature 'mass_dataset,numeric'
e1 >= e2

## S4 method for signature 'mass_dataset,numeric'
e1 < e2

## S4 method for signature 'mass_dataset,numeric'
e1 <= e2

## S4 method for signature 'mass_dataset,numeric'
e1 == e2

## S4 method for signature 'mass_dataset'
colSums(x, na.rm = FALSE, dims = 1)

## S4 method for signature 'mass_dataset'
rowSums(x, na.rm = FALSE, dims = 1)

## S4 method for signature 'mass_dataset'
colMeans(x, na.rm = FALSE, dims = 1)

## S4 method for signature 'mass_dataset'
rowMeans(x, na.rm = FALSE, dims = 1)

Arguments

x

x

base

base

center

center

scale

scale

e1

a mass_dataset class object

e2

numeric

na.rm

na.rm

dims

dims

Details

colSums.mass_dataset = function(x, na.rm = FALSE, dims = 1) colSums(x@expression_data, na.rm = na.rm, dims = dims)

rowSums.mass_dataset = function(x, na.rm = FALSE, dims = 1) rowSums(x@expression_data, na.rm = na.rm, dims = dims)

colMeans.mass_dataset = function(x, na.rm = FALSE, dims = 1) colMeans(x@expression_data, na.rm = na.rm, dims = dims)

rowMeans.mass_dataset = function(x, na.rm = FALSE, dims = 1) rowMeans(x@expression_data, na.rm = na.rm, dims = dims)

Value

mass_dataset object

mass_dataset object

mass_dataset object

mass_dataset object

mass_dataset object

mass_dataset object

mass_dataset object

mass_dataset object

A logical data.frame

A logical data.frame

A logical data.frame

A logical data.frame

A logical data.frame

result

vector object

vector object

vector object

Author(s)

Xiaotao Shen shenxt1990@outlook.com


tidymass/massdataset documentation built on Oct. 17, 2022, 7:25 a.m.