Description Usage Arguments Value
View source: R/ks.counts_to_log10tpm.R
Counts to log-transformed TPM-normalized counts. The funcction support additional filter, i.e. it can leave miRNAs that appear in minimum of 'filtr_minimalcounts' counts in 'filtr_howmany' samples. Usage of the filter like that can assure that the miRNAs selected will be detectable in qPCR.
1 2 3 4 5 6 7 8 | ks.counts_to_log10tpm(
danex,
metadane = metadane,
ids = metadane$ID,
filtr = T,
filtr_minimalcounts = 10,
filtr_howmany = 1/2
)
|
danex |
Matrix with miRNA counts with miRNAs in columns and cases in rows. |
metadane |
Metadata with 'Class' variable. |
ids |
Unique identifier of samples. |
filtr |
If expression filter should be used. |
filtr_minimalcounts |
How many counts? |
filtr_howmany |
In how many samples? (Please provide a percentage or proportion, e.g. 1/2 or 1/3). |
Normalized counts in 'ttpm' format. Please note, that the function also saves 'TPM_DGEList_filtered.rds' to working directory, which is a DGEList object that can be used in packages like edgeR.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.