Description Usage Arguments Value Examples
View source: R/vdjcellranger-methods.R
Generate a legible name for a series of contigs
1 | fancy_name_contigs(contig_tbl, prefix)
|
contig_tbl |
An |
prefix |
an optional prefix added to each contig, eg, possibly a sample id. |
character
1 2 3 4 5 6 7 | library(dplyr)
contig_anno_path = system.file('extdata', 'all_contig_annotations_balbc_1.csv.xz',
package = 'CellaRepertorium')
contig_anno = readr::read_csv(contig_anno_path)
contig_anno = contig_anno %>% mutate(fancy_name =
fancy_name_contigs(., prefix = 'b6_1'))
stopifnot(!any(duplicated(contig_anno$fancy_name)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.