Description Usage Arguments Value Author(s) See Also Examples
This function retrieves a data matrix of p-value or FDR from an object of PatCNVData-class
.
1 2 3 4 |
obj |
an object of |
sample.name |
a character vector containing sample names. A value of NULL instructs the function to select all the samples |
gene.name |
a character vector containing gene names. A value of NULL instructs the function to select all the genes |
chr |
selected chromosome |
pos.range |
a numeric vector of two values indicating start and end positions of selected chromosome |
exon.score.vec |
a numeric vector of per-exon confidence score |
min.exon.score |
minimum exon confidence score |
capture.only |
a logical value indicating if only captured exons should be used |
type |
"FDR" or "pval". Default value "FDR" refers to false discovery rate and "pval" refers to nominal p-value |
exon.ID.format |
"gene+pos" or "pos" indicating how to format exon IDs |
an FDR/p-value matrix of exon by sample
Chen Wang
1 2 3 4 5 6 7 8 9 | #=== load simulated data with pre-computed coverage and CNV
data(sim.cnvData)
#=== fit null distribution of CNV signals and plot distribution
null.model <- fitNullModel(sim.cnvData, "all")
germline.data <- estimateFDR(sim.cnvData, null.model)
#=== list FDR of a few top exons of samples "n2" and "n5"
head(fdrMatrix(germline.data,c("n2","n5")))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.