IsomirDataSeqFromMirtop: Import 'mirtop' output into 'IsomirDataSeq'

Description Usage Arguments Details Value Examples

View source: R/AllClasses.R

Description

The tabular output of mirtop is compatible with IsomirDataSeq. This function allows to import the data and filter low confidence isomiRs for downstream analysis.

Usage

1
IsomirDataSeqFromMirtop(mirtop, coldata, ...)

Arguments

mirtop

data.frame with the output of mirtop export

coldata

data.frame with the metadata of the samples

...

It supports the same parameters as in IsomirDataSeqFromRawData.

Details

The output is generated with mirtop export --format isomir.

Value

IsomirDataSeq class object.

Examples

1
2
3
4
5
6
7
library(readr)
path <- system.file("extra", "mirtop", package="isomiRs")
fn <- list.files(path, full.names = TRUE)
de <- data.frame(row.names=c("sample1" , "sample2"),
                 condition = c("cc", "cc"))
# mirtop export --format isomir ....
IsomirDataSeqFromMirtop(read_tsv(fn), de)

isomiRs documentation built on Jan. 31, 2021, 2 a.m.