anno: anno(PAC) Access the annotation table in S4 PAC

annoR Documentation

anno(PAC) Access the annotation table in S4 PAC

Description

anno(PAC)

Access the annotation table in S4 PAC

Usage

anno(object)

## S4 method for signature 'PAC'
anno(object)

## S4 replacement method for signature 'PAC,data.frame'
anno(object) <- value

Arguments

object

A S4 PAC-object containing Pheno, Anno and Counts tables. Can be generated by the 'PAC generation' family of functions, for example see ?make_counts.

value

Data.frame having the same row names as row names in Counts (sequences).

Value

The Anno data.frame table from a PAC-object.

Updated S4 PAC-object.

See Also

Other PAC methods: counts(), names,PAC-method, norm(), pheno(), show.PAC(), summary()

Examples


load(system.file("extdata", "drosophila_sRNA_pac_filt_anno.Rdata", 
                  package = "seqpac", mustWork = TRUE))

# extra fuctionality with s4 PAC-object:
names(pac)
length(pac)
nrow(pac)
ncol(pac)
rownames(pac)
colnames(pac)
pheno(pac) 
head(anno(pac))
head(counts(pac))
head(norm(pac)$cpm)


Danis102/seqpac documentation built on Aug. 26, 2023, 10:15 a.m.