get_bits: Get bits of each site.

View source: R/Seurat_monocle_workflow.R

get_bitsR Documentation

Get bits of each site.

Description

Get bits of each site.

Usage

get_bits(seq_prob, type = c("DNA", "RNA", "AA"), freq = T, base = T, prob = F)

Arguments

seq_prob

Seurat object.

type

Character. One of DNA, RNA and AA.

freq

Logical. If TRUE, the final result will be multiplied by the ratio of valid characters. Default:TRUE.

base

Logical. If TRUE, only keep the score of AA_STANDARD/DNA_BASES/RNA_BASES for protein/DNA/RNA sequences. Default:TRUE.

prob

Logical. If TRUE, return seq prob of each site. Default:FALSE.

Value

bits/seq prob of each site


Busydog1990/genepro documentation built on July 20, 2023, 6:03 a.m.