readNuPoP: R function for plotting the predicted nucleosome positioning...

Description Usage Arguments Examples

View source: R/readNuPoP.R

Description

This function reads in the prediction results generated by predNuPoP for specified region.

Usage

1
readNuPoP(file,startPos,endPos)

Arguments

file

the prediction output file name from predNuPoP function.

startPos

the start position in the DNA sequence for prediction results plotting.

endPos

the end position in the DNA sequence for prediction results plotting.

Examples

1
2
3
4
5
6
7
8
library(NuPoP)
predNuPoP(system.file("extdata", "test.seq", package="NuPoP"),species=7,model=4)

## the prediction results are stored in the current working directory
## the user should replace "system.file("extdata","test.seq_Prediction4.txt",package="NuPoP")"
## by the actual path and file name generated from prediction.

temp=readNuPoP(system.file("extdata","test.seq_Prediction4.txt",package="NuPoP"),startPos=1,endPos=5000)

Example output

Prediction output: '/work/tmp/test.seq_Prediction4.txt'

NuPoP documentation built on Nov. 8, 2020, 7:09 p.m.