Learn R Programming

pqsfinder (version 1.0.2)

PQSViews: PQSViews class constructor.

Description

User friendly constructor for PQSViews class representing potential quadruplex forming sequences (PQS). PQSViews is a subclass of XStringViews class and adds one more slot to store PQS density.

Usage

PQSViews(subject, start, width, strand, score, density)

Arguments

subject
DNAString object.
start
Vector of PQS start positions.
width
Vector of PQS lengths.
strand
Vector of PQS strand specifications.
score
Vector of PQS scores.
density
Numbers of PQS overlapping at each position in subject.

Value

  • PQSViews object

Examples

Run this code
pv <- PQSViews(DNAString("CGGGCGGGGC"), 1:2, 2:3, "+", 10:11, 1:10)
start(pv)
width(pv)
strand(pv)
score(pv)
density(pv)

Run the code above in your browser using DataLab