reverse_complement: reverse-complement some fragments

Description Usage Arguments Value Examples

Description

randomly reverse-complement half of the sequences in a DNAStringSet

Usage

1
reverse_complement(tObj, seed = NULL)

Arguments

tObj

DNAStringSet representing sequences.

seed

optional seed to set before randomly selecting the sequences to be reverse-complemented.

Value

DNAStringSet that is the same as tObj, but with about half the sequences reverse-complemented.

Examples

1
2
3
library(Biostrings)
  data(srPhiX174)
  srPhiX174_halfrc = reverse_complement(srPhiX174, seed=174)

alyssafrazee/polyester-release documentation built on May 12, 2019, 2:32 a.m.