profile_extract: Generate profile plots with ease

View source: R/trackplot.R

profile_extractR Documentation

Generate profile plots with ease

Description

Generate profile plots with ease

Usage

profile_extract(
  bigWigs = NULL,
  bed = NULL,
  binSize = 50,
  startFrom = "center",
  up = 2500,
  down = 2500,
  ucsc_assembly = NULL,
  nthreads = 4,
  custom_names = NULL
)

Arguments

bigWigs

bigWig files. Default NULL. Required.

bed

bed file or a data.frame with first 3 column containing chromosome, star, end positions.

binSize

bin size to extract signal. Default 50 (bps). Should be >1

startFrom

Default "center". Can be "center", "start" or "end"

up

extend upstream by this many bps from 'startFrom'. Default 2500

down

extend downstream by this many bps from 'startFrom'. Default 2500

ucsc_assembly

If ‘bed' file not provided, setting 'ucsc_assembly' to ref genome build will fetch transcripts from UCSC genome browser. e.g; ’hg19'

nthreads

Default 4

custom_names

Default NULL and Parses from the file names.


scfurl/seqGlue documentation built on Sept. 1, 2024, 11:20 a.m.