Skip to contents

This function takes the expression of transposable elements table form TEKRABber normalized results. (1) User should filter only the columns related to the species is interested (2) Calculated the mean from samples and combined expression level into new dataframe (3) merge them based on TE class and round the expression in percentages (4) You can specify the file name with path in a string if you want to save the file reference tables

Usage

pieTE(teExp, rmsk, fileName = NULL)

Arguments

teExp

the filter columns of TE expression that you are interested

rmsk

the rmsk reference. You can load the built-in one to use

fileName

the name of plot if you want to save it

Value

a ggplot pie chart object

Examples

data(hmchimpTE)
data(hg19rmsk_info)

df <- hmchimpTE
dfSelect <- df[,c(1,2,3)] #only select human columns
g <- pieTE(dfSelect, hg19rmsk_info)