key_id_access: Access key ids

Description Usage Arguments Value Author(s) Examples

Description

sid returns a vector of sample IDs.
sid<- replaces it with new value.

bid returns a vector of binder IDs.
bid<- replace it with new value.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
sid(x, exact = FALSE)

## S4 method for signature 'BAf'
sid(x, exact = FALSE)

sid(x) <- value

## S4 replacement method for signature 'BAf'
sid(x) <- value

bid(x, exact = FALSE)

## S4 method for signature 'BAf'
bid(x, exact = FALSE)

bid(x) <- value

## S4 replacement method for signature 'BAf'
bid(x) <- value

Arguments

x

an object of the BAf-class

exact

whether the exact ID including repeat indicator, i.e. *1, should be returned or not

value

a vector of key ids

Value

sid a vector of sample IDs
bid a vector of binder IDs

Author(s)

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

Examples

1
2
3
4
5
6
7
data(sba)

head(sid(sba))

sid(sba)[1] <- "sA"

bid(sba)[1:10]

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