reformatCARMA: Reformat CARMA scores

Description Usage Arguments Value

View source: R/reformatCARMA.R View source: R/reformatCARMA 2.R

Description

This function will not be called directly by the user. The function is used by the CARMA function and converts a CARMA results matrix with armwise CARMA scores per row into a matrix where each row represents scores per whole chromosome or whole genome.

Usage

1
reformatCARMA(res.reg, region.type = "chrom")

Arguments

res.reg

a CARMA results matrix

region.type

the defined region type. Either "chrom" or "whole_genome".

Value

A CARMA results matrix where each row represents scores per whole chromosome or whole genome


arnevpladsen/CARMA documentation built on Dec. 19, 2021, 4:39 a.m.