Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

setReads

Replacing the Read-Count slot of a BCdat objects.


Description

Replacing the Read-Count slot of a BCdat objects.

Usage

setReads(object, value)

Arguments

object

a BCdat object.

value

a data.frame caontaining two columns called "read_count" and "barcode".

Value

a BCdat object.

Examples

data(BC_dat)
require("dplyr")

bcs <- unlist(lapply(1:20, function(x) {
           c("A", "C", "T", "G") %>% sample(replace = TRUE, size = 32) %>% paste0(collapse = "")
       }))
new_read_count_table <- data.frame(read_count = sample(1:1000, size = 20), barcode = bcs)
BC_dat_new <- setReads(BC_dat, new_read_count_table)

genBaRcode

Analysis and Visualization Tools for Genetic Barcode Data

v1.2.4
LGPL
Authors
Lars Thielecke <lars.thielecke@tu-dresden.de>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.