pheno: pheno(PAC)

phenoR Documentation

pheno(PAC)

Description

Access sample information in a PAC-object

Usage

pheno(object)

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

## S4 replacement method for signature 'PAC,data.frame'
pheno(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 column names in Counts (sample IDs).

Value

The Pheno data.frame table from a S4 PAC-object

Updated S4 PAC-object.

See Also

Other PAC methods: anno(), counts(), names,PAC-method, norm(), 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.