loadCountData {CSSQ} | R Documentation |
It converts input count file and a bed file regions
into a RangedSummarizedExperiment-class
object.
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.
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