plotTrep: A function to scatterplot 'Trep' column of a Trep dataframe...

View source: R/plotTrep.R

plotTrepR Documentation

A function to scatterplot 'Trep' column of a Trep dataframe plotTrep function plots values in the 'Trep' column of the supplied dataframe as a function of chromosome coordinates. The genome wide median is plotted as a pink line.

Description

A function to scatterplot 'Trep' column of a Trep dataframe plotTrep function plots values in the 'Trep' column of the supplied dataframe as a function of chromosome coordinates. The genome wide median is plotted as a pink line.

Usage

plotTrep(TrepDF, region = FALSE, plotting = TRUE)

Arguments

TrepDF

A dataframe containing 'chrom','chromStart', 'chromEnd' and 'Trep' columns (dataframe).

region

Only plot for the provided region in the format 'chrI:1000-3000' (string, optional).

plotting

Should the plot object be sent to the default device? (boolean, defaults to TRUE).

Examples

plotTrep(TrepDF,region="chrI")

Repliscope documentation built on Sept. 13, 2022, 9:05 a.m.