GRN object.nTFs.RdReturns the number of TFs from the provided TFBS data in the GRN object.
nTFs(GRN)Object of class GRN
Integer. Number of TFs that are defined in the GRN object.
# See the Workflow vignette on the GRaNIE website for examples
GRN = loadExampleObject()
#> Downloading GRaNIE example object from https://git.embl.de/grp-zaugg/GRaNIE/-/raw/master/data/GRN.rds
#> INFO [2023-08-16 17:29:03] Storing GRN@data$RNA$counts matrix as sparse matrix because fraction of 0s is > 0.1 (0.44)
#> Finished successfully. You may explore the example object. Start by typing the object name to the console to see a summaty. Happy GRaNIE'ing!
nTFs(GRN)
#> [1] 75