orgintercompareinput: Organize the results from the function 'mcalrate' to a...

View source: R/statistics.R

orgintercompareinputR Documentation

Organize the results from the function mcalrate to a data.frame

Description

Organize the results calculated by the function mcalrate to a data.frame with the 1st column as gene symbols and the other columns as gene elongation rates inferred for each Pro-seq or Gro-seq pair. This data.frame can be used as input for the function intercompare.

Usage

orgintercompareinput(reslist, targetgenes = NULL)

Arguments

reslist

The result list generated by the function mcalrate.

targetgenes

Which genes need to be included in the output of this function. If it is NULL (The default value), all genes provided by the parameter reslist will be analyzed. If its value is 'significant', only genes judged as significant genes by mcalrate will be included. While the the value of this parameter can also be a vector with gene symbols as elements and only genes covered by this vector will be included.

Value

A data.frame with the 1st column as gene symbols and the other columns as gene elongation rates inferred for each Pro-seq or Gro-seq pair. This data.frame can be used as input for the function intercompare.


yuabrahamliu/proRate documentation built on Nov. 3, 2024, 10:14 a.m.