Create a catalog from a matrix, data.frame, or vector
Create a catalog from a matrix
, data.frame
, or vector
as.catalog( object, ref.genome = NULL, region = "unknown", catalog.type = "counts", abundance = NULL, infer.rownames = FALSE )
object |
A numeric |
ref.genome |
A |
region |
A character string designating a region, one of
|
catalog.type |
One of "counts", "density", "counts.signature", "density.signature". |
abundance |
If |
infer.rownames |
If |
A catalog as described in ICAMS
.
# Create an SBS96 catalog with all mutation counts equal to 1. object <- matrix(1, nrow = 96, ncol = 1, dimnames = list(catalog.row.order$SBS96)) catSBS96 <- as.catalog(object)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.