Description Usage Arguments Value Examples
View source: R/loadCountData.R
It converts input count file and a bed file regions
into a RangedSummarizedExperiment-class
object.
1 | loadCountData(countFile, regionBed, sampleInfo)
|
countFile |
A path to file containing the count data for the dataset. This should be a tab separated file sample names as header. |
regionBed |
A bed file containing the list of regions that are being analyzed. |
sampleInfo |
Object from |
RangedSummarizedExperiment-class
object containing
the region information,
sample information and the count data.
1 2 3 4 5 6 7 | countData <- loadCountData(system.file("extdata", "sample_count_data.txt",
package="CSSQ",mustWork = TRUE),system.file("extdata", "chr19_regions.bed",
package="CSSQ"),
read.table(system.file("extdata", "sample_info.txt", package="CSSQ",
mustWork = TRUE),
sep="\t",header=TRUE))
countData
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.