Description Fields Constructor Arguments Getters Setters Details Author(s) See Also Examples
Boost version of ChIPSeqSpikeDataset class keeping data in GRanges form. It inherits from ChIPSeqSpikeCore.
experimentListLoaded: A list of ExperimentLoaded-class objects
inputBigWigLoaded: A GRanges object of input binding scores
ChIPSeqSpikeDatasetBoost(endogenousBam_vec, exogenousBam_vec, bigWigFile_endogenous_vec, inputBigWigFile, inputBamFile, expnames, inputSF = 0, inputNb = 0, SetArrayList = list(), matBindingList = list(), verbose = TRUE)
Character vector of file paths to the BAM files aligned to the reference genome.
Character vector of file paths to the BAM files aligned to the exogenous genome.
Character vector of file paths to the bigWig files aligned to the reference genome.
String representing the file path to the input control bigWig file. (see details)
String representing the file path to the input control BAM file.
Character vector of experiment names. (see details)
Numeric scaling factor. Default is 0. (see details)
Numeric read counts. Default is 0. (see details)
List of PlotSetArray objects. Default is an empty list. (see details)
List of binding value matrices. Default is an empty list. (see details)
getBamReturns the input BAM path
getBigWigFileReturns the input bigWig path
getExperimentListBigWigsReturns a character vector of paths to the experiment bigWig files
getExpNameReturns a character vector of experiment names
getScalingFactorReturns the input scaling factor
getCountReturns the number of reads contained in the input BAM file
getAverageBindingValuesReturns a list of PlotSetArray objects. (see details)
getMatBindingValuesReturns a list of matrices containing binding values. (see details)
getLoadedDataReturns the GRanges object of input DNA binding scores
scalingFactorModifies the input scaling factor value
countModifies the input count value
bigWigFileModifies the input bigWig file path
averageBindingValuesModifies the PlotSetArray list. (see details)
matBindingValuesModifies the list of binding value matrices. (see details)
'expnames' character vector is used to define the names of the experiment list and are used as labels in plotting, summary and getRatio functions.
'inputSF' is the scaling factor that will be applied to the input bigWigFile before input subtraction of the different experiments. 'inputNb' which holds the number of aligned reads is used to calculate the aforementioned factor. Only the endogenous count and factor are needed for the input conversely to the experiments for which both the endogenous/exogenous scaling factors and counts are needed to perform spike-in normalization.
'SetArrayList' contains PlotSetArray objects. The PlotSetArray class is defined in the Bioconductor package 'seqplots' and holds the values that are necessary to plot profiles and heatmaps. These values can be retrieved with the 'getAverageBindingValues' function.
'matBindingList' contains matrices of binding values for each experiment. These values are used to generate boxplots and correlations plots. They are retrieved by calling the function 'BWGFile_summary' of the bioconductor package 'rtracklayer'.
If the dataset contains more than one input, one would want to use the ChIPSeqSpikeDatasetList class. Boost mode classes (ChIPSeqSpikeDatasetBoost and ChIPSeqSpikeDatasetListBoost) can also be considered to speed up the analysis.
'exportBigWigs' output the binding values from the GRanges objects contained in inputBigWigLoaded and experimentListLoaded slots.
On Windows operating system, due to the Bioconductor package rtracklayer >= 1.37.6 not supporting bigWig files, this class is not available.
Nicolas Descostes
ExperimentLoaded-class
ChIPSeqSpikeDataset-class
ChIPSeqSpikeCore-class
ChIPSeqSpikeDatasetListBoost-class
spikeDataset
PlotSetArray-class
spikeSummary
getRatio
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | file_vec <- system.file("extdata",
c("bam_files/H3K79me2_0_dm3-filtered.bam",
"bam_files/H3K79me2_0_hg19-filtered.bam",
"bigwig_files/H3K79me2_0-filtered.bw",
"bigwig_files/input_0-filtered.bw",
"bam_files/input_0_hg19-filtered.bam"),
package="ChIPSeqSpike")
if(.Platform$OS.type != 'windows') {
csds <- ChIPSeqSpikeDatasetBoost(endogenousBam_vec = file_vec[2],
exogenousBam_vec = file_vec[1],
bigWigFile_endogenous_vec = file_vec[3],
inputBigWigFile = file_vec[4],
inputBamFile = file_vec[5],
expnames = "H3K79me2_0")
csds
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.