reverse.string: Reverse given character vector by the given n-plets.

Description Usage Arguments Value Examples

Description

Reverse given character vector by the given n-plets.

Usage

1
reverse.string(.seq, .n = 1)

Arguments

.seq

Sequences.

.n

By which n-plets we should reverse the given strings.

Value

Reversed strings.

Examples

1
2
reverse.string('abcde')  # => "edcba"
reverse.string('abcde', 2)  # => "debca"

Example output

Loading required package: ggplot2
Loading required package: dplyr

Attaching package: 'dplyr'

The following objects are masked from 'package:stats':

    filter, lag

The following objects are masked from 'package:base':

    intersect, setdiff, setequal, union

Loading required package: gridExtra

Attaching package: 'gridExtra'

The following object is masked from 'package:dplyr':

    combine

Loading required package: reshape2
Loading required package: igraph

Attaching package: 'igraph'

The following objects are masked from 'package:dplyr':

    as_data_frame, groups, union

The following objects are masked from 'package:stats':

    decompose, spectrum

The following object is masked from 'package:base':

    union

sh: 1: wc: Permission denied
sh: 1: cannot create /dev/null: Permission denied
Could not detect number of cores, defaulting to 1.

==================================
==================================
The tcR package is no longer supported and current issues will not be fixed. A new package is available that is designed to replace tcR called immunarch. 
We have solved most of the problems tcR package had and improved the overall pipeline, providing functions for painless repertoire file parsing and publication-ready plot making. 

The mission of immunarch is to make immune repertoire data analysis as easy and possible - even with R. 
Please feel free to check it here: 
https://immunarch.com/

We will be happy to help you to integrate the new package into your pipelines. Please do not hesitate to contact us, should any question arise:
Email: vdm.nazarov at gmail.com
LinkedIn: https://linkedin.com/in/vdnaz

Sincerely, 
  immunarch dev team and Vadim I. Nazarov, lead developer
        
P.S. To suppress this message, just wrap any call to tcR as follows:
suppressPackageStartupMessages(library(tcR))
==================================
==================================

Attaching package: 'tcR'

The following object is masked from 'package:igraph':

    diversity

[1] "edcba"
[1] "debca"

tcR documentation built on July 2, 2020, 3:18 a.m.