Usage
GuitarPlot(gfeatures, GuitarCoordsFromTxDb = NA, txdb = NA, genome = NA, noBins = 10, saveToPDFprefix = NA, returnCount = FALSE, includeNeighborDNA = FALSE, maximalFeatureAmbiguity=5, rescaleComponent=TRUE, fill=FALSE)
Arguments
gfeatures
genomic features, which can be GRanges, GRangesList, GAlignment.
GuitarCoordsFromTxDb
Guitar coordiantes generated from makeGuitarCoordsFromTxDb object
txdb
If GuitarCoordsFromTxDb is not provided, you may optionally provide a TranscriptDb object, and the Guitar coordiante will be generated accordingly from it.
genome
If neither GuitarCoordsFromTxDb nortxdb is not provided, you may optionally provide genome assembly number, gene annotation will be automatically downloaded from UCSC, and the Guitar coordiante will be generated accordingly from it.
noBins
The resolution of the analysis. Default: 100
saveToPDFprefix
Whether the figure generated should be saved into a PDF file.
returnCount
Whether the count information should be returned. This information is from countOverlaps between the provided gfeatures and Guitar coordiantes. It is not recommended to use this information.
includeNeighborDNA
Whether neighborhood DNA regions should be included in the GuitarPlot.
maximalFeatureAmbiguity
Features that overlap with more than this number of transcripts will not be used in the analysis. If a genomic feature overlaps with multiple transcripts but the number doesn't exceed this threshold, its weight will be evenly divided. Default: 5
rescaleComponent
Whether the actual length of different components should be reflected in the generated figure. 5'UTR is usually much shorter than other components, so if this option is turned on, 5'UTR can be difficult to be observed; however, this difficulty is resulted from its short width. Default: TRUE.
fill
Whether calculate the relative location-standardized density or not. If set "TRUE", the density of tracks will be standardized with respect to each location. Default: FALSE