CpG_summary: CpG_summary

Description Usage Arguments Value Examples

View source: R/CpG_summary.R

Description

CpG_summary function provides information on genes with CpG islands and GC content. The function checks genes against known CpG islands and provides various plots to assess emerging data features. The user can also specify if the plotting is necessary for location ("location") or protein class ("class"). Only genes with GC data are assessed.

Usage

1
CpG_summary(data, type = "class")

Arguments

data

Requires a data frame generated by score_genes; class - data frame

type

Requires to specify if plotting is performed for location or class types; default is "class". Alternatively, select "location". Class - string

Value

multiple plots (class - plots) and a data frame with GC content (class - data frame)

Examples

1
2
3
4
5
6
7
8
 ## Not run: 
path_to_test_data<- system.file("extdata", "test_data.tabular", package="OmicInt")
# basic usage of CpG_summary
df<-utils::read.table(path_to_test_data)
return_df<-CpG_summary(df)
head(return_df)

## End(Not run)

OmicInt documentation built on Oct. 28, 2021, 5:09 p.m.