assay_tekcorrset: Access genes and transposable elements expression data

View source: R/assay_tekcorrset.R

assay_tekcorrsetR Documentation

Access genes and transposable elements expression data

Description

a function only used for accessing the expression data from a TekCorrSet class object to demonstrate examples in vignettes. demonstration.

Usage

assay_tekcorrset(tecorrset, expType, sample)

Arguments

tecorrset

TekCorrSet object

expType

Indicate which data you want to access. It should be "gene" or "te".

sample

The species name or experimental design. It should be "human" and "chimpanzee" when you are running comparing species design. "control" and "treatment" are for running same species design.

Value

a dataframe contains expression genes or transposable elements.

Examples

data(speciesCorr)
hmGeneCorrInput <- assay_tekcorrset(speciesCorr, "gene", "human")
hmTECorrInput <- assay_tekcorrset(speciesCorr, "te", "human")
chimpGeneCorrInput <- assay_tekcorrset(speciesCorr, "gene", "chimpanzee")
chimpTECorrInput <- assay_tekcorrset(speciesCorr, "te", "chimpanzee")

ferygood/TEKRABber documentation built on March 11, 2023, 5:03 a.m.