Description Usage Arguments Value Examples
View source: R/p05_profile_matrix_import_functions.R
This function reads the locally stored profile matrix and convert it
to normalizedMatrix
class. This matrix can be used for generating profile plot
using EnrichedHeatmap package.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | import_profile_from_file(
file,
source = "normalizedmatrix",
signalName,
selectGenes,
up = 200,
target = 200,
down = 100,
binSize = 10,
targetType = "region",
targetName = "gene",
keep = c(0, 1),
returnDf = FALSE
)
|
file |
profile matrix for e.g. generated by deeptools' |
source |
A character string for the source of the matrix being read. One of |
signalName |
name of the signal track |
selectGenes |
A vector of gene IDs which are to be plotted.. Only these genes' profile is extracted from the profile matrix for plotting. |
up |
number of bins in upstream region |
target |
number of bins in gene body |
down |
number of bins in downstream region |
binSize |
bin size used while generating profile matrix |
targetType |
One of "region", "point". If targetType is "region", target is used to decide the number of bins over region. Otherwise, for "point", a signle point matrix is expected where the region is extracted around single point. Default: region |
targetName |
Name to be used for target. Eg: "gene", "TSS", "TES", "summit" etc. default: gene |
keep |
Same as |
returnDf |
If TRUE, returns the dataframe instead of profile matrix. Default: FALSE |
profile matrix of class normalizedMatrix
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.