generateLocationModel: Create a 'Location Model'

Description Usage Arguments Value Examples

View source: R/generateLocationModel.R

Description

Convenience function for generating the locations on the DNA strand where exons are so that the x scale on the plot roughly makes sense. Yes, this is a wrapper for a regular sequence generating function, but it takes similar inputs as generateStrandModel and more importantly adds context to the parameter list.

Usage

1
generateLocationModel(startBase, endBase, scaling = 1000)

Arguments

startBase

The starting base pair number

endBase

The ending base pair number

scaling

scaling factor in how many base pairs should be represented per index (ex. 1000) to reduce computational complexity when simulating physics/plotting; Should match value used in generateStrandModel

Value

A sequence containing the location model.

Examples

1
2
3
4
## Not run: 
   generateLocationModel(startBase=1, endBase=195471971, scaling=100000)

## End(Not run)

hyf97ca/hotgenes documentation built on Dec. 8, 2019, 12:41 p.m.