divideBy: divide by a column in @sinfo

Description Usage Arguments Value Author(s) Examples

View source: R/by.divideBy.R

Description

It produces a list of BAf objects divided by the values in the given column of @sinfo

Usage

1
divideBy(baf, by, abbr_name = FALSE)

Arguments

baf

an object of the BAf-class

by

the name of the column by which sample will be divided

abbr_name

if the name of the list element should be shortened

Value

A list of BAf-class objects

Author(s)

Mun-Gwan Hong <mun-gwan.hong@scilifelab.se>

Examples

1
2
3
4
data(sba)
# the data "sba" is divided based on the values in "plate" column.
sba2 <- divideBy(sba, "plate")
str(sba2, 2)		# show the structure of "B"

Rundmus/BAf-R_package documentation built on May 18, 2020, 12:59 p.m.