Description Usage Arguments Details Value References Examples
The function prepares an object for outstanding genomic zone analysis. It integrates data, annotation, and analysis parameters into the object and performs additional check on data integrity.
1 2 3 4 5 6 7 8 |
data |
a numerical |
colData |
a |
design |
a one-sided |
clustering.method |
a character string. An option to choose either using |
rowData.GRanges |
an optional genome annotation of |
ks |
an optional numerical vector to specify the number of zones to divide each chromosome into. The names of the |
genome |
an optional value of |
ensembl.mirror |
an optional Ensembl mirror server to connect to. It is used only when |
gene.ID.type |
an optional value of |
ncores |
an optional integer to specify the number of cores to use parallely in outstanding genomic zone analysis. Default is 1. |
The function collects all the input information, checks requirement completeness and integrates the inputs into a list, in preparation for function GenomicOZone
to perform outstanding zone analysis.
A genome annotation parameter of GRanges
class \insertCitelawrence2013grangesGenomicOZone or a genome version must be assigned by the user. The annotation is used to sort genes by their genomic coordinates. The genome
parameter is for function GenomicOZone
to obtain genome annotation from the R package biomaRt \insertCitesmedley2015biomartGenomicOZone to access Ensembl annotation databases \insertCitezerbino2017ensemblGenomicOZone. Using rowData.GRanges
is recommended over using genome
.
A list object with all relevant information for oustanding genomic zone analysis. It will be expanded by further analysis.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | data <- matrix(c(1,5,2,6,5,1,6,2), ncol = 2, byrow = TRUE)
rownames(data) <- paste("Gene", 1:4, sep='')
colnames(data) <- paste("Sample", c(1:2), sep='')
colData <- data.frame(Sample_name = paste("Sample", c(1:2), sep=''),
Condition = c("Cancer", "Normal"))
design <- ~ Condition
rowData.GRanges <- GRanges(seqnames = Rle(rep("chr1", 4)),
ranges = IRanges(start = c(1,2,3,4), end = c(5,6,7,8)))
names(rowData.GRanges) <- paste("Gene", 1:4, sep='')
ks <- c(2)
names(ks) <- "chr1"
GOZ.ds <- GOZDataSet(data, colData, design,
rowData.GRanges = rowData.GRanges,
ks = ks)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.