readDESeqDs | R Documentation |
readDESeqDs reads file of PACs or genes into a DESeqDataset.
readDESeqDs(datafile, annofile, filetype, noIntergenic = TRUE, PAname = NULL)
datafile |
a gene/PA file. |
annofile |
annotation for samples. |
filetype |
specify the file type, gene/PA. |
noIntergenic |
valid when filetype=PA, specifying whether to remove intergenic PACs. |
PAname |
valid when filetype=PA, specifying how to set the name (rowname) of PACs. PAname=PA, the PA name is set as 'gene.PAN'; PAname=coord, then 'gene.coord'. |
A DESeqDataset with each row a gene or PAC.
data(PACds)
writePACds(PACds, file='pacds.txt', colDataFile='coldata.txt')
## Read PACs to DESeqDataset
dds=readDESeqDs(datafile='pacds.txt', annofile='coldata.txt',
filetype='PA',noIntergenic=TRUE, PAname='PA')
head(mcols(dds)); colData(dds); head(assays(dds)$counts)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.