plotGeneDistribution: plotGeneDistribution

Description Usage Arguments Examples

View source: R/plotGeneDistribution.R

Description

Plot of distribution on selected gene

Usage

1
2
3
plotGeneDistribution(gene, bamDataFrame,
  geneData = directRNAExplorer::TAIR10_genes, range = 0,
  genePart = "gene", ...)

Arguments

gene

Character with gene name.

bamDataFrame

Data frame converted to R using bamToR() function.

geneData

Data frame with positions of all genes and their names, by default we use a TAIR10_genes.

range

How many nucleotide before start and after stop we include to genes.

genePart

The part of gene we want to visualize.

...

Optional arguments.

Examples

1
2
3
library(directRNAExplorer)
data <- brmDataChromosome1[brmDataChromosome1$pos >2002000 & brmDataChromosome1$pos < 2018000,]
plotGeneDistribution("AT1G06560", data, genePart="three_prime_UTR")

mi2-warsaw/sequencingExplainer documentation built on May 17, 2019, 4:33 p.m.